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 31
attr_accessor :tty
Instance Method Details
#noecho {|_self| ... }
# File 'lib/rubygems/mock_gem_ui.rb', line 38
def noecho yield self end
#tty? ⇒ Boolean
(rw)
# File 'lib/rubygems/mock_gem_ui.rb', line 33
def tty?() @tty = true unless defined?(@tty) @tty end