Ruby, Programming, Ruby on Rails, Web Development.
class, all three methods are available as instance methods in that class and therefore available for all ruby classes. So what is the difference between all three?. To answer that we will need to experiment with code a little bit Print vs Puts Let’s see what happens when we type the following code