method

new

new(instance, method, var = "@#{method}", deprecator = nil)
public

No documentation available.

# File activesupport/lib/active_support/deprecation/proxy_wrappers.rb, line 89
      def initialize(instance, method, var = "@#{method}", deprecator = nil)
        @instance = instance
        @method = method
        @var = var
        ActiveSupport.deprecator.warn("DeprecatedInstanceVariableProxy without a deprecator is deprecated") unless deprecator
        @deprecator = deprecator || ActiveSupport::Deprecation._instance
      end