Class: JEDICT::Parser::Full

Inherits:
Entry
  • Object
show all
Defined in:
lib/jedict.rb

Instance Attribute Summary collapse

Attributes inherited from Entry

#callback, #parents, #position

Instance Method Summary collapse

Methods inherited from Entry

#characters, #end_element, #start_element

Constructor Details

#initializeFull

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

#valueObject

Returns the value of attribute value.



136
137
138
# File 'lib/jedict.rb', line 136

def value
  @value
end