• +91 9723535972
  • info@interviewmaterial.com

Ruby Interview Questions and Answers

Question - How to use Ruby methods.

Answer -

To use a Ruby method, we need to first define it. It is defined with def and end keyword.

Method name should always start with a lowercase letter.

Syntax:

def methodName  
code...  
end  

Comment(S)

Show all Coment

Leave a Comment




NCERT Solutions

 

Share your email for latest updates

Name:
Email:

Our partners