lib/mongoid/errors/invalid_storage_parent.rb in mongoid-7.3.5 vs lib/mongoid/errors/invalid_storage_parent.rb in mongoid-7.4.0

- old
+ new

@@ -1,7 +1,6 @@ # frozen_string_literal: true -# encoding: utf-8 module Mongoid module Errors # Raised when calling store_in in a sub-class of Mongoid::Document @@ -11,11 +10,9 @@ # # @example Create the new error. # InvalidStorageParent.new(Person) # # @param [ Class ] klass The model class. - # - # @since 4.0.0 def initialize(klass) super( compose_message( "invalid_storage_parent", { klass: klass }