Ruby Programming Language Question:

Explain about normal method class?

Ruby Interview Question
Ruby Interview Question

Answer:

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.


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