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.
29 30 31 |
# File 'lib/console/event/measure.rb', line 29 def initialize(name) @name = name end |
Instance Method Details
#format(output, terminal, verbose) ⇒ Object
33 34 35 |
# File 'lib/console/event/measure.rb', line 33 def format(output, terminal, verbose) output.puts "→ #{@name}" end |