Most of the blogs or tutorials or books have private methods at the bottom of any class/module. Is this the best practice?
I find having private methods as and when nece
Dennis had the perfect answer, that is, when using ruby >=2.1, just prefix the def with private (or protected,public)
But I believe that it's now also possible to use private as a block as in:
private begin def foo end def bar end end def zip end