Sha256: bf9e29209b73fb7f436bb5ce52408716c607d647450a6b4d74f3eedc9d461655

Contents?: true

Size: 307 Bytes

Versions: 8

Compression:

Stored size: 307 Bytes

Contents

require "shale"

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

          xml do
            root "rules"

            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/rules.rb
stepmod-utils-0.6.6 lib/stepmod/utils/parsers/models/rules.rb
stepmod-utils-0.6.5 lib/stepmod/utils/parsers/models/rules.rb
stepmod-utils-0.6.3 lib/stepmod/utils/parsers/models/rules.rb
stepmod-utils-0.6.2 lib/stepmod/utils/parsers/models/rules.rb
stepmod-utils-0.6.1 lib/stepmod/utils/parsers/models/rules.rb
stepmod-utils-0.6.0 lib/stepmod/utils/parsers/models/rules.rb
stepmod-utils-0.5.0 lib/stepmod/utils/parsers/models/rules.rb