module Gem::MockGemUi::TTY

Attributes

tty[RW]

Public Instance Methods

noecho() { |self| ... } click to toggle source
# File lib/rubygems/mock_gem_ui.rb, line 37
def noecho
  yield self
end
tty?() click to toggle source
# File lib/rubygems/mock_gem_ui.rb, line 32
def tty?()
  @tty = true unless defined?(@tty)
  @tty
end