Ruby Objects3:42 with Jason Seifer
When instantiating a new instance of a class, that new thing is called an object. In Ruby, everything is an object. In this video, we'll explore objects and start to interact with them.
Instantiate an instance of the
string = String.new
View the methods the object supports:
Ask the object if it responds to a given method:
You need to sign up for Treehouse in order to download course files.Sign up