Method: ActiveSupport::DelegationError.nil_target

Defined in:
activesupport/lib/active_support/delegation.rb

.nil_target(method_name, target) ⇒ Object

:nodoc:



8
9
10
# File 'activesupport/lib/active_support/delegation.rb', line 8

def nil_target(method_name, target) # :nodoc:
  new("#{method_name} delegated to #{target}, but #{target} is nil")
end