Sha256: 8614d41ec831a855f6c08a588634ca7d3cee54f5f39cd6d4c5fbb517e2897322
Contents?: true
Size: 630 Bytes
Versions: 194
Compression:
Stored size: 630 Bytes
Contents
# encoding: utf-8 module Mongoid #:nodoc: module Criterion #:nodoc: module Inspection #:nodoc: # 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 "#<Mongoid::Criteria\n" << " selector: #{selector.inspect},\n" << " options: #{options.inspect},\n" << " class: #{klass},\n" << " embedded: #{embedded}>\n" end end end end
Version data entries
194 entries across 102 versions & 5 rubygems