Sha256: b59b5a7b6e12562d97d3393558b93665185d33e0b8ae8f2a2a40d645da9c0155
Contents?: true
Size: 665 Bytes
Versions: 13
Compression:
Stored size: 665 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 ::I18n.translate( "mongoid.inspection.criteria", { selector: selector.inspect, options: options.inspect, klass: klass, embedded: embedded? } ) end end end end
Version data entries
13 entries across 13 versions & 1 rubygems