Class: Console::Output::Null
- Inherits:
-
Object
- Object
- Console::Output::Null
- Defined in:
- lib/console/output/null.rb
Overview
A null output that does nothing.
Instance Method Summary collapse
-
#call ⇒ Object
Do nothing.
-
#initialize ⇒ Null
constructor
Create a new null output.
-
#last_output ⇒ Object
The last output is always self.
Constructor Details
#initialize ⇒ Null
Create a new null output.
11 12 |
# File 'lib/console/output/null.rb', line 11 def initialize(...) end |
Instance Method Details
#call ⇒ Object
Do nothing.
20 21 |
# File 'lib/console/output/null.rb', line 20 def call(...) end |
#last_output ⇒ Object
The last output is always self.
15 16 17 |
# File 'lib/console/output/null.rb', line 15 def last_output self end |