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
Constructor Details
#initialize(text) ⇒ TextRecord
Returns a new instance of TextRecord.
12 13 14 |
# File 'lib/fusuma/plugin/events/records/text_record.rb', line 12 def initialize(text) @text = text end |
Instance Method Details
#to_s ⇒ String
21 22 23 |
# File 'lib/fusuma/plugin/events/records/text_record.rb', line 21 def to_s @text end |
#type ⇒ Object
16 17 18 |
# File 'lib/fusuma/plugin/events/records/text_record.rb', line 16 def type :text end |