Sha256: 0ced57815dc8a048af875c25b660a022f5f5edfb34b1ff87179a19c9e47da049
Contents?: true
Size: 562 Bytes
Versions: 73
Compression:
Stored size: 562 Bytes
Contents
# encoding: utf-8 module Mongoid class Criteria module Inspectable # 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
73 entries across 68 versions & 6 rubygems