Class: Fusuma::Plugin::Events::Records::ContextRecord
- Defined in:
- lib/fusuma/plugin/events/records/context_record.rb
Overview
Context Record
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
define gesture format.
-
#value ⇒ Object
readonly
define gesture format.
Instance Method Summary collapse
-
#initialize(name:, value:) ⇒ ContextRecord
constructor
A new instance of ContextRecord.
- #type ⇒ Object
Methods inherited from Base
#config_index, #config_param_types, #config_params, inherited, plugins, #shutdown
Constructor Details
#initialize(name:, value:) ⇒ ContextRecord
Returns a new instance of ContextRecord.
14 15 16 17 18 |
# File 'lib/fusuma/plugin/events/records/context_record.rb', line 14 def initialize(name:, value:) super() @name = name.to_sym @value = value end |
Instance Attribute Details
#name ⇒ Object (readonly)
define gesture format
10 11 12 |
# File 'lib/fusuma/plugin/events/records/context_record.rb', line 10 def name @name end |
#value ⇒ Object (readonly)
define gesture format
10 11 12 |
# File 'lib/fusuma/plugin/events/records/context_record.rb', line 10 def value @value end |
Instance Method Details
#type ⇒ Object
[View source]
20 21 22 |
# File 'lib/fusuma/plugin/events/records/context_record.rb', line 20 def type :context end |