class Eiwa::Tag::Spelling
Attributes
text[R]
Public Class Methods
new()
click to toggle source
# File lib/eiwa/tag/spelling.rb, line 6 def initialize @frequency_tags = [] @info_tags = [] end
Public Instance Methods
end_child(child)
click to toggle source
# File lib/eiwa/tag/spelling.rb, line 11 def end_child(child) case child.tag_name when "keb" @text = child.characters when "ke_pri" @frequency_tags << child.characters.to_sym when "ke_inf" @info_tags << child end end