Sha256: d4a625962d025111c8cd53c117f2b84ea310dbfee951e64e4a3b43a96d86b404

Contents?: true

Size: 287 Bytes

Versions: 1

Compression:

Stored size: 287 Bytes

Contents

module Expressir
  module Model
    class Repository
      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

1 entries across 1 versions & 1 rubygems

Version Path
expressir-0.2.3 lib/expressir/model/repository.rb