Sha256: d1c2d4f0dd71d92761aeee6cc0ea0816858a6f1176f78af63c52f8cc763555d5
Contents?: true
Size: 290 Bytes
Versions: 2
Compression:
Stored size: 290 Bytes
Contents
module Expressir module Model class Repository attr_accessor :schemas def initialize(options = {}) @schemas = options[:schemas] end def scope_items items = [] items.push(*@schemas) if @schemas items end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
expressir-0.2.2 | lib/expressir/model/repository.rb |
expressir-0.2.1 | lib/expressir/model/repository.rb |