Sha256: 98ef2656fdc929af3c9a5d6cb4b76ef0100a9cbcc23aa65b984f80c4ed0f2acf

Contents?: true

Size: 488 Bytes

Versions: 7

Compression:

Stored size: 488 Bytes

Contents

module Expressir
  module Model
    class Unique < 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-0.2.27 lib/expressir/model/unique.rb
expressir-0.2.27-x86_64-linux lib/expressir/model/unique.rb
expressir-0.2.27-x86_64-darwin lib/expressir/model/unique.rb
expressir-0.2.27-x86-mingw32 lib/expressir/model/unique.rb
expressir-0.2.27-x86-linux lib/expressir/model/unique.rb
expressir-0.2.27-x64-mingw32 lib/expressir/model/unique.rb
expressir-0.2.27-arm64-darwin lib/expressir/model/unique.rb