module Gem::MockGemUi::TTY

Attributes

tty[RW]

Public Instance Methods

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