Class: Console::Event::Enter

Inherits:
Generic
  • Object
show all
Defined in:
lib/console/event/measure.rb

Instance Method Summary collapse

Methods inherited from Generic

register, #to_h, #to_json

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