InterviewSolution
How can we create a Ruby OBJECT?Creating object in Ruby is very unique TYPE of method which is predefined in Ruby library. To create OBJECTS we use new method of the class. Below is the syntax for creating objectsObjectexample=Nameofclass.new
Your experience on this site will be improved by allowing cookies. Read Cookie Policy