[ruby-core:86479] & unary operator for block-proc conversion

From: Liam <liamelliott1123@...>
Date: 2018-04-09 01:57:14 UTC
List: ruby-core #86479
I'm trying to understand ruby more from an implementers perspective in
the hopes that I can one day contribute a patch. My first step into
this arena is learning how the unary & operator works, although I
can't find out where in the ruby source this is implemented. Also,
does anyone have any tips on finding where in the ruby source these
kinds of things are implemented? For me it's obvious that a method on
object would exist in object.c, but for syntax-related features such
as the & operator, it's less clear.

Apologies if this isn't an approved use of the core mailing list, feel
free to tell me if this is the case.

Thanks,
Liam

Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>

In This Thread

Prev Next