Ruby Programming Language Question:

Explain about normal method class?

Tweet Share WhatsApp

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.

Download Ruby PDF Read All 26 Ruby Questions
Previous QuestionNext Question
Explain about ruby names?Explain about methods?