Class: Console::Event::Generic
- Inherits:
-
Object
- Object
- Console::Event::Generic
- Defined in:
- lib/console/event/generic.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.register(terminal) ⇒ Object
9 10 |
# File 'lib/console/event/generic.rb', line 9 def self.register(terminal) end |
Instance Method Details
#format(buffer, terminal) ⇒ Object
19 20 |
# File 'lib/console/event/generic.rb', line 19 def format(buffer, terminal) end |
#to_h ⇒ Object
12 13 |
# File 'lib/console/event/generic.rb', line 12 def to_h end |
#to_json(*arguments) ⇒ Object
15 16 17 |
# File 'lib/console/event/generic.rb', line 15 def to_json(*arguments) JSON.generate([self.class, to_h], *arguments) end |