Class: JEDICT::Parser::Full
- Defined in:
- lib/jedict.rb
Instance Attribute Summary collapse
-
#value ⇒ Object
Returns the value of attribute value.
Attributes inherited from Entry
#callback, #parents, #position
Instance Method Summary collapse
-
#initialize ⇒ Full
constructor
A new instance of Full.
Methods inherited from Entry
#characters, #end_element, #start_element
Constructor Details
#initialize ⇒ Full
Returns a new instance of Full.
137 138 139 140 |
# File 'lib/jedict.rb', line 137 def initialize @value = [] super(proc { |e| value << e }) end |
Instance Attribute Details
#value ⇒ Object
Returns the value of attribute value.
136 137 138 |
# File 'lib/jedict.rb', line 136 def value @value end |