Sha256: b44905bfca2a8b86c3b9f06acb2bdfecdb82f2b5cb947762f17d4e9fb2525aac

Contents?: true

Size: 492 Bytes

Versions: 7

Compression:

Stored size: 492 Bytes

Contents

module Expressir
  module Model
    class UniqueRule < ModelElement
      include Identifier

      model_attr_accessor :attributes

      def initialize(options = {})
        @id = options[:id]
        @remarks = options[:remarks] || []
        @remark_items = options[:remark_items] || []
        @source = options[:source]

        @attributes = options[:attributes] || []

        super
      end

      def children
        [
          *remark_items
        ]
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
expressir-1.0.0 lib/expressir/model/unique_rule.rb
expressir-1.0.0-x86_64-linux lib/expressir/model/unique_rule.rb
expressir-1.0.0-x86_64-darwin lib/expressir/model/unique_rule.rb
expressir-1.0.0-x86-mingw32 lib/expressir/model/unique_rule.rb
expressir-1.0.0-x86-linux lib/expressir/model/unique_rule.rb
expressir-1.0.0-x64-mingw32 lib/expressir/model/unique_rule.rb
expressir-1.0.0-arm64-darwin lib/expressir/model/unique_rule.rb