Sha256: 35904b895f9e6491435a7b2c9ed342ecc5832860c2a4e27eaebcf0a9b28dd7b0
Contents?: true
Size: 553 Bytes
Versions: 2
Compression:
Stored size: 553 Bytes
Contents
# encoding: utf-8 module Mongoid #:nodoc: module Criterion #:nodoc: module Inspection #:nodoc: # Get a pretty string representation of the criteria, including the # selector, options, matching count and documents for inspection. # # @example Inspect the criteria. # criteria.inspect # # @return [ String ] The inspection string. def inspect "#<Mongoid::Criteria\n" << " selector: #{selector.inspect},\n" << " options: #{options.inspect}>\n" end end end end
Version data entries
2 entries across 2 versions & 2 rubygems
Version | Path |
---|---|
stonegao-mongoid-2.0.0.rc.6 | lib/mongoid/criterion/inspection.rb |
mongoid-2.0.0.rc.6 | lib/mongoid/criterion/inspection.rb |