Simply Rails 2
« Back
Chapter 3 — Introducing Ruby
Basic car classes:
01-car-classes.rb
if
,
if-else
, and
elsif
constructs:
02-if-construct.rb
03-if-else-construct.rb
04-if-elsif-else.rb
05-if-statement-modifier.rb
unless
and
unless-else
constructs:
06-unless-construct.rb
07-unless-else.rb
08-unless-statement-modifier.rb
Loops:
09-while-loop.rb
10-until-loop.rb
11-for-loop.rb
Blocks:
12-simple-block.rb
13-block-with-params.rb
14-block-integer.rb
15-block-upto.rb
Links
Errata page for this book
Other SitePoint books
SitePoint Newsletters
SitePoint Forums