Sha256: 4ae840e31549d58751ceb3e374d216c086757f4e85610f4a6bc440168982b955
Contents?: true
Size: 704 Bytes
Versions: 1
Compression:
Stored size: 704 Bytes
Contents
module MoneyS3 module Builders class MzdoveObdobiType include ParserCore::BaseBuilder def builder root = Ox::Element.new(name) if data.key? :attributes data[:attributes].each { |k, v| root[k] = v } end root << build_element('Mesic', data[:mesic], data[:mesic_attributes]) if data.key? :mesic root << build_element('Rok', data[:rok], data[:rok_attributes]) if data.key? :rok root << build_element('Funkce', data[:funkce], data[:funkce_attributes]) if data.key? :funkce if data.key? :prac_pomer root << PracPomer.new('PracPomer', data[:prac_pomer]).builder end root end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
money_s3-1.0.0 | lib/money_s3/builders/mzdove_obdobi_type.rb |