Welcome to Ruby Building Blocks! Since you've already done a decent chunk of Ruby in the Web Development 101 Course (if not, go do that first!), this should start as a healthy refresher of what you've already learned with Variables, Data Types, Strings, and Methods.
But this lesson will take you much deeper and further than you went before, so don't think you've got a free pass. There's a whole lot of stuff to cover. These first couple of lessons cover the broadest swathe of material of the entire Ruby course, so get stretched out and warmed up, it's time to dive in!
Look through these now and then use them to test yourself after doing the assignment
Note: We recommend you read through the list, do the assignment, and then test yourself by seeing if you can answer all these questions.
Numbers, Operators and Expressions:
> arr.popdifferent from
<<ing another array into your array different from just adding them together?
Dates and Times:
Timespecifically for 12/25/2013?
Other Random Stuff:
Programming == Joy: A Whistle Stop Tour of Ruby and Object Orientation
Ruby's Building Blocks: Data, Expressions, and Flow Controlpages 29-46 (only the section on Numbers and Expressions and the section on Text and Strings)
For a deeper look at certain underserved pieces of the above material, check out these posts from Erik Trautman:
Note: If you want to actually write and run your own Ruby code, you can either use IRB from the command line (type
irb after the prompt), or run it from a script file using
$ ruby ./your_file_name_in_the_current_directory.rb, or use the online editor at repl.it.
This section contains helpful links to other content. It isn't required, so consider it supplemental for if you need to dive deeper into something
mapmethods, we'll cover that in a later section.
mapand other block-taking functions.
From the creators of The Odin Project...