One minor glitch that annoys me is that you can't declare a method
private in the method definition itself.

class Foo
  def bar
    :bar
  end
private
  def baz
    :baz
  end
end

foo = Foo.new
p foo.bar
p foo.baz

Thanks,

Nicholas

--
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