Class: Console::Output::Wrapper
- Inherits:
-
Object
- Object
- Console::Output::Wrapper
- Defined in:
- lib/console/output/wrapper.rb
Direct Known Subclasses
Instance Method Summary collapse
- #call ⇒ Object
-
#initialize(delegate, **options) ⇒ Wrapper
constructor
A new instance of Wrapper.
- #verbose!(value = true) ⇒ Object
Constructor Details
#initialize(delegate, **options) ⇒ Wrapper
Returns a new instance of Wrapper.
9 10 11 |
# File 'lib/console/output/wrapper.rb', line 9 def initialize(delegate, **) @delegate = delegate end |
Instance Method Details
#call ⇒ Object
17 18 19 |
# File 'lib/console/output/wrapper.rb', line 17 def call(...) @delegate.call(...) end |
#verbose!(value = true) ⇒ Object
13 14 15 |
# File 'lib/console/output/wrapper.rb', line 13 def verbose!(value = true) @delegate.verbose!(value) end |