Class: Fusuma::Plugin::Events::Records::TextRecord
- Defined in:
- lib/fusuma/plugin/events/records/text_record.rb
Overview
Default Record
Instance Method Summary collapse
-
#initialize(text) ⇒ TextRecord
constructor
: (String) -> void.
-
#to_s ⇒ String
: () -> String.
-
#type ⇒ Object
: () -> Symbol.
Methods inherited from Base
#config_index, #config_param_types, #config_params, inherited, plugins, #shutdown
Constructor Details
#initialize(text) ⇒ TextRecord
: (String) -> void
13 14 15 16 |
# File 'lib/fusuma/plugin/events/records/text_record.rb', line 13 def initialize(text) super() @text = text end |
Instance Method Details
#to_s ⇒ String
: () -> String
25 26 27 |
# File 'lib/fusuma/plugin/events/records/text_record.rb', line 25 def to_s @text end |
#type ⇒ Object
: () -> Symbol
19 20 21 |
# File 'lib/fusuma/plugin/events/records/text_record.rb', line 19 def type :text end |