class Mongoid::Report::Input

Attributes

collection_name[RW]

Public Instance Methods

collection() click to toggle source
# File lib/mongoid/report/input.rb, line 11
def collection
  @collection ||= Mongoid::Report::Collections.get(collection_name)
end
present?() click to toggle source
# File lib/mongoid/report/input.rb, line 7
def present?
  collection_name.present?
end