Sha256: 90a83b0713443c50dc6ffb2937c081c07e69fe470f7cd6930d0f2910aa894e92

Contents?: true

Size: 451 Bytes

Versions: 14

Compression:

Stored size: 451 Bytes

Contents

module Expressir
  module Model
    module Types
      class GenericEntity < ModelElement
        include Identifier

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

          super
        end
      end

      def children
        [
          *remark_items
        ]
      end
    end
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

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