self.method_name indicates a class method; method_name indicates an instance method.
You can read a lot more about class and instance methods at this blog post or, if you’d prefer something a bit more official, the Programming Ruby class section.
self.method_name indicates a class method; method_name indicates an instance method.
You can read a lot more about class and instance methods at this blog post or, if you’d prefer something a bit more official, the Programming Ruby class section.