Module: Jat::InstanceMethods
- Included in:
- Jat
- Defined in:
- lib/jat.rb
Instance Attribute Summary collapse
-
#context ⇒ Object
readonly
Returns the value of attribute context.
Instance Method Summary collapse
Instance Attribute Details
#context ⇒ Object (readonly)
Returns the value of attribute context.
96 97 98 |
# File 'lib/jat.rb', line 96 def context @context end |
Instance Method Details
#config ⇒ Object
106 107 108 |
# File 'lib/jat.rb', line 106 def config self.class.config end |
#initialize(context = {}) ⇒ Object
98 99 100 |
# File 'lib/jat.rb', line 98 def initialize(context = {}) @context = context end |
#to_h(_object) ⇒ Object
102 103 104 |
# File 'lib/jat.rb', line 102 def to_h(_object) raise Error, "Method #to_h must be implemented by plugin" end |