instance method __setobj__

Ruby on Rails edge

Since edge

Signature

__setobj__(obj)

No documentation comment.

Parameters

obj req
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

Type at least 2 characters to search.

Use the arrow keys to navigate results, Enter to open one, Escape to close.

Keyboard shortcuts

/
Focus search
⌘K / Ctrl-K
Command palette
?
This help
Esc
Close