Sha256: 8c722b8c0436d0f6219e83310f0f5d16d96ccd251cf4a434605349293cfd7aea
Contents?: true
Size: 645 Bytes
Versions: 5
Compression:
Stored size: 645 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" << " count: #{count.inspect},\n" << " matching: #{entries.inspect}>\n" end end end end
Version data entries
5 entries across 5 versions & 1 rubygems