method

new

rails latest stable - Class: ActiveModel::ObserverArray

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v3.2.13) is shown here.

new(model_class, *args)
public

No documentation available.

# File activemodel/lib/active_model/observer_array.rb, line 8
    def initialize(model_class, *args)
      @model_class = model_class
      super(*args)
    end