module Gem::MockGemUi::TTY

Attributes

tty[RW]

Public Instance Methods

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