Class: Console::Event::Enter
- Defined in:
- lib/console/event/measure.rb
Instance Method Summary collapse
- #format(output, terminal, verbose) ⇒ Object
-
#initialize(name) ⇒ Enter
constructor
A new instance of Enter.
Methods inherited from Generic
Constructor Details
#initialize(name) ⇒ Enter
Returns a new instance of Enter.
27 28 29 |
# File 'lib/console/event/measure.rb', line 27 def initialize(name) @name = name end |
Instance Method Details
#format(output, terminal, verbose) ⇒ Object
31 32 33 |
# File 'lib/console/event/measure.rb', line 31 def format(output, terminal, verbose) output.puts "→ #{@name}" end |