Class: LanGrove::Plugin::Handler

Inherits:
Object
  • Object
show all
Defined in:
lib/langrove/plugin/assessor.rb

Overview

This need a better home.

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#capsuleObject

Returns the value of attribute capsule.



12
13
14
# File 'lib/langrove/plugin/assessor.rb', line 12

def capsule
  @capsule
end

#keyObject

Returns the value of attribute key.



13
14
15
# File 'lib/langrove/plugin/assessor.rb', line 13

def key
  @key
end

#typeObject

Returns the value of attribute type.



14
15
16
# File 'lib/langrove/plugin/assessor.rb', line 14

def type
  @type
end