| Class | Node::OP_ASGN_OR |
| In: |
ext/nodeinfo.c
|
| Parent: | Node |
Represents an expression of the form:
recv ||= value
Ruby will evaluate the expression on the left hand side. If it is undefined, nil, or false, then ruby will evaluate the expression on the right hand side and assign it to recv. The expression will short-circuit if recv is defined and true (non-false, non-nil).