Answer Posted / Pragya Aparajita
In Ruby, a method is a function defined on an object. Methods are used to perform operations on objects or to access their attributes. They can take arguments and return values.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers