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
A new instance of TextRecord.
- #to_s ⇒ String
- #type ⇒ Object
Methods inherited from Base
#config_index, #config_param_types, #config_params, inherited, plugins, #shutdown
Constructor Details
#initialize(text) ⇒ TextRecord
Returns a new instance of TextRecord.
12 13 14 15 |
# File 'lib/fusuma/plugin/events/records/text_record.rb', line 12 def initialize(text) super() @text = text end |
Instance Method Details
#to_s ⇒ String
22 23 24 |
# File 'lib/fusuma/plugin/events/records/text_record.rb', line 22 def to_s @text end |
#type ⇒ Object
17 18 19 |
# File 'lib/fusuma/plugin/events/records/text_record.rb', line 17 def type :text end |