Sha256: 59029f91e27abcbb0c00e6c58fc13516afe64920a0334ac3c90285f69a38a454
Contents?: true
Size: 1.28 KB
Versions: 11
Compression:
Stored size: 1.28 KB
Contents
require 'lib/roxml' class DictionaryOfAttrs include ROXML xml_name :dictionary xml_reader :definitions, :as => {:key => '@dt', :value => '@dd'}, :in => :definitions end class DictionaryOfTexts include ROXML xml_name :dictionary xml_reader :definitions, :as => {:key => :word, :value => :meaning} end class DictionaryOfMixeds include ROXML xml_name :dictionary xml_reader :definitions, :as => {:key => '@word', :value => :content} end class DictionaryOfNames include ROXML xml_name :dictionary xml_reader :definitions, :as => {:key => :name, :value => :content} end class DictionaryOfGuardedNames include ROXML xml_name :dictionary xml_reader :definitions, :as => {:key => :name, :value => :content}, :in => :definitions end class DictionaryOfNameClashes include ROXML xml_name :dictionary xml_reader :definitions, :as => {:key => 'name', :value => 'content'}, :from => :definition end class DictionaryOfAttrNameClashes include ROXML xml_name :dictionary xml_reader :definitions, :as => {:key => '@name', :value => 'content'}, :from => :definition end
Version data entries
11 entries across 11 versions & 5 rubygems