Class: Console::Event::Generic

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

Direct Known Subclasses

Failure, Metric, Progress, Spawn

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.register(terminal) ⇒ Object



24
25
# File 'lib/console/event/generic.rb', line 24

def self.register(terminal)
end

Instance Method Details

#as_jsonObject



30
31
32
# File 'lib/console/event/generic.rb', line 30

def as_json
	to_h
end

#format(buffer, terminal) ⇒ Object



34
35
# File 'lib/console/event/generic.rb', line 34

def format(buffer, terminal)
end

#to_hObject



27
28
# File 'lib/console/event/generic.rb', line 27

def to_h
end