Class: Console::Event::Generic

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

Direct Known Subclasses

Enter, Failure, Metric, Progress, Spawn

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.register(terminal) ⇒ Object



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

def self.register(terminal)
end

Instance Method Details

#format(buffer, terminal) ⇒ Object



36
37
# File 'lib/console/event/generic.rb', line 36

def format(buffer, terminal)
end

#to_hObject



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

def to_h
end

#to_json(*arguments) ⇒ Object



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

def to_json(*arguments)
	JSON.generate([self.class, to_h], *arguments)
end