Class: LanGrove::Plugin::Handler
- Inherits:
-
Object
- Object
- LanGrove::Plugin::Handler
- Defined in:
- lib/langrove/plugin/assessor.rb
Overview
This need a better home.
Instance Attribute Summary collapse
-
#capsule ⇒ Object
Returns the value of attribute capsule.
-
#key ⇒ Object
Returns the value of attribute key.
-
#type ⇒ Object
Returns the value of attribute type.
Instance Method Summary collapse
-
#initialize(key, capsule = {}) ⇒ Handler
constructor
A new instance of Handler.
Constructor Details
#initialize(key, capsule = {}) ⇒ Handler
Returns a new instance of Handler.
16 17 18 19 20 |
# File 'lib/langrove/plugin/assessor.rb', line 16 def initialize( key, capsule = {} ) @type = :handler @key = key @capsule = capsule end |
Instance Attribute Details
#capsule ⇒ Object
Returns the value of attribute capsule.
12 13 14 |
# File 'lib/langrove/plugin/assessor.rb', line 12 def capsule @capsule end |
#key ⇒ Object
Returns the value of attribute key.
13 14 15 |
# File 'lib/langrove/plugin/assessor.rb', line 13 def key @key end |
#type ⇒ Object
Returns the value of attribute type.
14 15 16 |
# File 'lib/langrove/plugin/assessor.rb', line 14 def type @type end |