In Files

  • ruby-3.1.2/lib/rubygems/mock_gem_ui.rb

Methods

Files

Class/Module Index [+]

Quicksearch

Gem::MockGemUi::TTY

Attributes

tty[RW]

Public Instance Methods

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