Sha256: 809c849030c5e242636fc38878a42e396c08e46357033633f8a6dcba1cf28471
Contents?: true
Size: 273 Bytes
Versions: 3
Compression:
Stored size: 273 Bytes
Contents
module Mongoid module Report class Input attr_accessor :collection_name def present? collection_name.present? end def collection @collection ||= Mongoid::Report::Collections.get(collection_name) end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
mongoid-report-0.2.2 | lib/mongoid/report/input.rb |
mongoid-report-0.2.1 | lib/mongoid/report/input.rb |
mongoid-report-0.2.0 | lib/mongoid/report/input.rb |