Sha256: 6660442ad8dbf2134525d8f9eda92042bf3636974449f08b1a316a8b486ef1f0
Contents?: true
Size: 546 Bytes
Versions: 29
Compression:
Stored size: 546 Bytes
Contents
# frozen_string_literal: true 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. def inspect %Q{#<Mongoid::Criteria selector: #{selector.inspect} options: #{options.inspect} class: #{klass} embedded: #{embedded?}> } end end end end
Version data entries
29 entries across 29 versions & 1 rubygems