Sha256: 5c75aa46ca5c37f2b1c7c03324fc84d2a5603f76d72cdaf754ebd16548f01316
Contents?: true
Size: 479 Bytes
Versions: 6
Compression:
Stored size: 479 Bytes
Contents
module MoneyS3 module Builders class VysledekOdesl include ParserCore::BaseBuilder def builder root = Ox::Element.new(name) root = add_attributes_and_namespaces(root) root << build_element('Chyba', data[:chyba], data[:chyba_attributes]) if data.key? :chyba if data.key? :varovani data[:varovani].map { |i| Ox::Element.new('Varovani') << i }.each { |i| root << i } end root end end end end
Version data entries
6 entries across 6 versions & 1 rubygems