Sha256: 75d6d3056c9893cccc1294f4dfdbd056f8568e98c9d85eeffabddbaec9e765bf
Contents?: true
Size: 874 Bytes
Versions: 7
Compression:
Stored size: 874 Bytes
Contents
module MoneyS3 module Parsers class CinnostType include ParserCore::BaseParser def zkrat at 'Zkrat' end def zkrat_attributes attributes_at 'Zkrat' end def nazev at 'Nazev' end def nazev_attributes attributes_at 'Nazev' end def pozn at 'Pozn' end def pozn_attributes attributes_at 'Pozn' end def to_h hash = {} hash[:attributes] = attributes hash[:zkrat] = zkrat if has? 'Zkrat' hash[:zkrat_attributes] = zkrat_attributes if has? 'Zkrat' hash[:nazev] = nazev if has? 'Nazev' hash[:nazev_attributes] = nazev_attributes if has? 'Nazev' hash[:pozn] = pozn if has? 'Pozn' hash[:pozn_attributes] = pozn_attributes if has? 'Pozn' hash end end end end
Version data entries
7 entries across 7 versions & 1 rubygems