G
Greg Willits
Trying to tackle Ruby bit by bit. Got many of the basic down, but I'm
struggling to find an explanation for the significance and usefulness of
&block. I think I understand that the important part is & and "block" is
just a conventional name for the parameter, but as many times as I've
seen &block used in places, I just haven't been abe to recognize what it
is doing (amid all the other reflective/dynamic stuff I'm still figuring
out).
Anyone know of a good blog post that explains what it is/how it works,
or care to tackle an explanation?
_much_ appreciated.
-- gw
struggling to find an explanation for the significance and usefulness of
&block. I think I understand that the important part is & and "block" is
just a conventional name for the parameter, but as many times as I've
seen &block used in places, I just haven't been abe to recognize what it
is doing (amid all the other reflective/dynamic stuff I'm still figuring
out).
Anyone know of a good blog post that explains what it is/how it works,
or care to tackle an explanation?
_much_ appreciated.
-- gw