Sha256: 8e911871dd99a4718f15f9a20ec1d3bb901f9b3615462cf06a0d6947bc5a27e2
Contents?: true
Size: 563 Bytes
Versions: 19
Compression:
Stored size: 563 Bytes
Contents
# encoding: utf-8 module Mongoid module Criterion module Inspection # 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. # # @since 1.0.0 def inspect %Q{#<Mongoid::Criteria selector: #{selector.inspect} options: #{options.inspect} class: #{klass} embedded: #{embedded?}> } end end end end
Version data entries
19 entries across 19 versions & 2 rubygems