class JEDICT::Parser::Count

Attributes

value[RW]

Public Class Methods

new() click to toggle source
# File lib/jedict.rb, line 199
def initialize 
  @value = 0
end

Public Instance Methods

start_element(name, attrs) click to toggle source
# File lib/jedict.rb, line 203
def start_element(name, attrs)
  @value += 1 if name == "entry"
end