Sha256: d85fffeb1289c945bbd20b2dd0242aab13571cfbfc5ed74e32426b78797d7275
Contents?: true
Size: 593 Bytes
Versions: 27
Compression:
Stored size: 593 Bytes
Contents
# frozen_string_literal: true # 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
27 entries across 27 versions & 2 rubygems