Sha256: a2e0a87e28f2574a1a57ce1d184adc40c968f7c5fcc8558cff17f678d4ccb7f6

Contents?: true

Size: 540 Bytes

Versions: 7

Compression:

Stored size: 540 Bytes

Contents

module Expressir
  module Model
      # Specified in ISO 10303-11:2004
      # - section 10 Scope and visibility
      # - section 10.3.13 Schema
    class Repository < ModelElement
      model_attr_accessor :schemas, 'Array<Schema>'

      # @param [Hash] options
      # @option options [Array<Schema>] :schemas
      def initialize(options = {})
        @schemas = options[:schemas] || []

        super
      end

      # @return [Array<Declaration>]
      def children
        [
          *schemas
        ]
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

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