Sha256: 7bc80f8404cfa48085684ed9e2d2a897259104eb64f0c80ac2248dac96109672

Contents?: true

Size: 487 Bytes

Versions: 29

Compression:

Stored size: 487 Bytes

Contents

module Expressir
  module Model
    # Multi-schema global scope
    class Repository < ModelElement
      model_attr_accessor :schemas, 'Array<Declarations::Schema>'

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

        super
      end

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

    end
  end
end

Version data entries

29 entries across 29 versions & 1 rubygems

Version Path
expressir-2.1.0 lib/expressir/model/repository.rb
expressir-2.0.0 lib/expressir/model/repository.rb
expressir-1.4.2 lib/expressir/model/repository.rb
expressir-1.4.2-x86_64-linux-musl lib/expressir/model/repository.rb
expressir-1.4.2-x86_64-linux-gnu lib/expressir/model/repository.rb
expressir-1.4.2-x86_64-darwin lib/expressir/model/repository.rb
expressir-1.4.2-x64-mingw32 lib/expressir/model/repository.rb
expressir-1.4.2-x64-mingw-ucrt lib/expressir/model/repository.rb
expressir-1.4.2-arm64-darwin lib/expressir/model/repository.rb
expressir-1.4.2-aarch64-linux-musl lib/expressir/model/repository.rb
expressir-1.4.2-aarch64-linux-gnu lib/expressir/model/repository.rb
expressir-1.4.1 lib/expressir/model/repository.rb
expressir-1.4.1-x86_64-linux-musl lib/expressir/model/repository.rb
expressir-1.4.1-x86_64-linux-gnu lib/expressir/model/repository.rb
expressir-1.4.1-x86_64-darwin lib/expressir/model/repository.rb
expressir-1.4.1-x64-mingw32 lib/expressir/model/repository.rb
expressir-1.4.1-x64-mingw-ucrt lib/expressir/model/repository.rb
expressir-1.4.1-arm64-darwin lib/expressir/model/repository.rb
expressir-1.4.1-aarch64-linux-musl lib/expressir/model/repository.rb
expressir-1.4.1-aarch64-linux-gnu lib/expressir/model/repository.rb