receiver_method(&:method) functionality seems clear enough, yet I find a gap in the explanations* about the assignment to 'obj' as in—
class Symbol
def to_proc #<parameter notably absent>
Proc.new { |obj, *args|
obj.send (self, *args)
}
end
end
How does this assign the receiver method's object/passed argument as 'obj'?
* What does map(&:name) mean in Ruby?
* https://www.skorks.com/2013/04/ruby-ampersand-parameter-demystified/