Class: Console::Event::Enter

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

Instance Method Summary collapse

Methods inherited from Generic

#as_json, register, #to_h

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