instance method
__setobj__
Ruby on Rails edge
Since edgeSignature
__setobj__(obj)
No documentation comment.
Parameters
-
objreq
Source
# File activesupport/lib/active_support/delegation.rb, line 32
def __setobj__(obj)
__raise__ ::ArgumentError, "cannot delegate to self" if equal?(obj)
@delegate_dc_obj = obj
end
Defined in activesupport/lib/active_support/delegation.rb line 32
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveSupport::Delegation::ClassDelegator