Sha256: 3d412b5048c4531f660b36b5a70dd3fce0d8d5e15be0bf042ad82b71c992ff60

Contents?: true

Size: 303 Bytes

Versions: 7

Compression:

Stored size: 303 Bytes

Contents

require "shale"

module Stepmod
  module Utils
    module Parsers
      module Models
        class Alt < Shale::Mapper
          attribute :content, Shale::Type::String

          xml do
            root "alt"

            map_content to: :content
          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/alt.rb
stepmod-utils-0.6.5 lib/stepmod/utils/parsers/models/alt.rb
stepmod-utils-0.6.3 lib/stepmod/utils/parsers/models/alt.rb
stepmod-utils-0.6.2 lib/stepmod/utils/parsers/models/alt.rb
stepmod-utils-0.6.1 lib/stepmod/utils/parsers/models/alt.rb
stepmod-utils-0.6.0 lib/stepmod/utils/parsers/models/alt.rb
stepmod-utils-0.5.0 lib/stepmod/utils/parsers/models/alt.rb