Module: Gem::MockGemUi::TTY
Relationships & Source Files | |
Defined in: | lib/rubygems/mock_gem_ui.rb |
Instance Attribute Summary
- #tty rw
Instance Method Summary
Instance Attribute Details
#tty (rw)
[ GitHub ]# File 'lib/rubygems/mock_gem_ui.rb', line 32
attr_accessor :tty
Instance Method Details
#noecho {|_self| ... }
# File 'lib/rubygems/mock_gem_ui.rb', line 39
def noecho yield self end
#tty? ⇒ Boolean
(rw)
# File 'lib/rubygems/mock_gem_ui.rb', line 34
def tty?() @tty = true unless defined?(@tty) @tty end