Ruby Programming Language Question:
Download Questions PDF

Explain about normal method class?


This function calls a method and it can take any number of arguments and expr. Make sure that you put an asterisk or an ampersand before the expression. Last expr argument can be declared with a hash without any braces. If you want to increase the size of the array value then make sure that you put an asterisk before expression. “::” can be used to separate the class from methods.

Download Ruby Interview Questions And Answers PDF

Previous QuestionNext Question
Explain about ruby names?Explain about methods?