D
dblack
Hi --
Can someone jog my memory, and/or enlighten me, as to what a case
would be where it's useful to have:
array.map
return an Enumerator? I can't seem to come up with an example where:
array.map.anything
is different from
array.anything
Thanks --
David
--
http://www.rubypowerandlight.com => Ruby/Rails training & consultancy
http://www.manning.com/black => RUBY FOR RAILS, the Ruby book for
Rails developers
http://dablog.rubypal.com => D[avid ]A[. ]B[lack's][ Web]log
(e-mail address removed) => me
Can someone jog my memory, and/or enlighten me, as to what a case
would be where it's useful to have:
array.map
return an Enumerator? I can't seem to come up with an example where:
array.map.anything
is different from
array.anything
Thanks --
David
--
http://www.rubypowerandlight.com => Ruby/Rails training & consultancy
http://www.manning.com/black => RUBY FOR RAILS, the Ruby book for
Rails developers
http://dablog.rubypal.com => D[avid ]A[. ]B[lack's][ Web]log
(e-mail address removed) => me