Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Section A.4. Data

A.4. Data

As everything is an object in Ruby, all forms of data represented within Ruby are also objects, just of varying classes. Therefore, some Ruby developers will try to correct you if you refer to types rather than classes, although this is merely pedantry.

In this section, we'll take a quick look at some of the basic data classes in Ruby.


  

You are currently reading a PREVIEW of this book.

                                                                                                                    

Get instant access to over $1 million worth of books and videos.

  

Start a Free Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint