Say I create an instance method on my class like def foo
that serves as a helper for other instance methods.
What is the difference between calling it directly like foo
vs self.foo
when calling it from other instance methods?
Say I create an instance method on my class like def foo
that serves as a helper for other instance methods.
What is the difference between calling it directly like foo
vs self.foo
when calling it from other instance methods?