Ruby Programming Language Question: Download Questions PDF
Explain about methods?
Methods in ruby basically perform two functions, named operation and the code present in the class which does a specific function. In Ruby all your algorithms live in methods which inturn is present on objects. Ruby does not have any provision for functions. Code present in Ruby is always a method of some object. Behind the scenes ruby gives you the flexibility to work with methods as functions if you are considering working with other languages.
Download Ruby Interview Questions And Answers PDF
|Previous Question||Next Question|
|Explain about normal method class?||Explain about the defined operator?|