Sha256: 7ef0c1b94055189f2010c23a83392bd45c0947fd0cf0a3160d2e5012cfea19e9

Contents?: true

Size: 321 Bytes

Versions: 7

Compression:

Stored size: 321 Bytes

Contents

require "shale"

require_relative "li"

module Stepmod
  module Utils
    module Parsers
      module Models
        class Ul < Shale::Mapper
          attribute :li, Li, collection: true

          xml do
            root "ul"

            map_element "li", to: :li
          end
        end
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
stepmod-utils-0.6.6 lib/stepmod/utils/parsers/models/ul.rb
stepmod-utils-0.6.5 lib/stepmod/utils/parsers/models/ul.rb
stepmod-utils-0.6.3 lib/stepmod/utils/parsers/models/ul.rb
stepmod-utils-0.6.2 lib/stepmod/utils/parsers/models/ul.rb
stepmod-utils-0.6.1 lib/stepmod/utils/parsers/models/ul.rb
stepmod-utils-0.6.0 lib/stepmod/utils/parsers/models/ul.rb
stepmod-utils-0.5.0 lib/stepmod/utils/parsers/models/ul.rb