Class: Gem::Release::Context::Ui::Base
- Inherits:
-
Struct
- Object
- Struct
- Gem::Release::Context::Ui::Base
- Defined in:
- lib/gem/release/context/ui.rb
Instance Attribute Summary collapse
-
#opts ⇒ Object
Returns the value of attribute opts.
- #stdout ⇒ Object
Instance Method Summary collapse
Instance Attribute Details
#opts ⇒ Object
Returns the value of attribute opts
14 15 16 |
# File 'lib/gem/release/context/ui.rb', line 14 def opts @opts end |
#stdout ⇒ Object
17 18 19 |
# File 'lib/gem/release/context/ui.rb', line 17 def stdout @stdout || $stdout end |
Instance Method Details
#puts(*str) ⇒ Object
21 22 23 |
# File 'lib/gem/release/context/ui.rb', line 21 def puts(*str) stdout.puts(*str) end |