focus on simplicity and productivity. It has an elegant syntax that is natural to read and easy to write. • Created by Yukihiro “Matz” Matsumoto • http://www.ruby-lang.org/en Thursday, July 18, 13
a standard format for distributing Ruby programs and libraries, and an easy to use tool for managing the installation of gem packages. • https://rubygems.org Thursday, July 18, 13
include more than one statement on a line • An operator, comma, or dot followed by a line break continues the current statement • Strings can contain line breaks Thursday, July 18, 13
boolean • false and nil are considered falsey • All other values are truthy • Use the empty? method to see if a string or collection is empty Thursday, July 18, 13
• A block forms a closure • Local variables are available inside • Surrounded by do ... end or {} • Arguments, if any, go between || Thursday, July 18, 13