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.
97 98 99 |
# File 'lib/jat.rb', line 97 def context @context end |
Instance Method Details
#config ⇒ Object
107 108 109 |
# File 'lib/jat.rb', line 107 def config self.class.config end |
#initialize(context = {}) ⇒ Object
99 100 101 |
# File 'lib/jat.rb', line 99 def initialize(context = {}) @context = context end |
#to_h(_object) ⇒ Object
103 104 105 |
# File 'lib/jat.rb', line 103 def to_h(_object) raise Error, "Method #to_h must be implemented by plugin" end |