On 26 April 2010 09:57, Leonardo Borges <[email protected]> wrote:
> private :my_private_method

It'd be nice if def returned a first class function object... then
maybe you could do:

  private def ...

Lack of first class function objects is often something people
complain about in Ruby. I also find the differences between proc,
lambda, blocks and methods extra complexity I could do without, but it
doesn't come up that often for me, personally, for some reason. e.g. I
rarely want to pass 2 blocks to a method.

-- 
Gregory McIntyre

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
or Rails Oceania" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rails-oceania?hl=en.

Reply via email to