Sha256: 7b8e31c19a92ff631e13e3bf36d92199d58b9fe2a87669eac577b032a24ce420

Contents?: true

Size: 326 Bytes

Versions: 3

Compression:

Stored size: 326 Bytes

Contents

module Expressir
  module Model
    class Repository
      include Scope

      attr_accessor :schemas

      def initialize(options = {})
        @schemas = options[:schemas]
      end

      def children
        items = []
        items.push(*@schemas) if @schemas
        items
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
expressir-0.2.6 lib/expressir/model/repository.rb
expressir-0.2.5-x64-mingw32 lib/expressir/model/repository.rb
expressir-0.2.4-x64-mingw32 lib/expressir/model/repository.rb