Sha256: fc5f824ed4e89d97db349eeb644a1d3e06c96941dbc2b53a7e96d5201a3b7ac1

Contents?: true

Size: 404 Bytes

Versions: 1

Compression:

Stored size: 404 Bytes

Contents

module MoneyS3
  module Builders
    class Konfigurace
      include ParserCore::BaseBuilder
      include Groups::Konfigurace

      def builder
        root = Ox::Element.new(name)
        if data.key? :attributes
          data[:attributes].each { |k, v| root[k] = v }
        end

        mega.each do |r|
          r.nodes.each { |n| root << n }
        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/konfigurace.rb