lib/mongoid/criteria/inspectable.rb in mongoid-7.3.5 vs lib/mongoid/criteria/inspectable.rb in mongoid-7.4.0
- old
+ new
@@ -1,7 +1,6 @@
# frozen_string_literal: true
-# encoding: utf-8
module Mongoid
class Criteria
module Inspectable
@@ -10,11 +9,9 @@
#
# @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}