Sha256: 83cdadcc771fe4c93402d4dd92c8ac04d1d722cfcc44ae8e0d49e8bf89e051e2

Contents?: true

Size: 317 Bytes

Versions: 8

Compression:

Stored size: 317 Bytes

Contents

require "shale"

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

          xml do
            root "constraint"

            map_content to: :content
          end
        end
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

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