<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -2,10 +2,17 @@
 * Exercises - Ruby
 ************************************************
 
-Note that the exercises generally tend to get more difficult with higher numbers and with
-higher letters. If you find yourself stuck on say a c) or d) exercise, you can
+The exercises generally tend to get more difficult with higher numbers and with
+higher letters. If you find yourself stuck on for example the d) exercise, you can
 always move on to the next number.
 
+As an alternative or complement to those exercises, you might want to check out the
+&quot;Ruby in 20 Minutes&quot; tutorial:
+
+http://www.ruby-lang.org/en/documentation/quickstart/
+
+Also, note that there is a nice introduction to Ruby in Appendix A of the Rails book.
+
 1. a) 
    Create a new script exercies/hello.rb that outputs Hello World!
    Execute your script with ruby exercies/hello.rb</diff>
      <filename>exercises/ruby.txt</filename>
    </modified>
    <modified>
      <diff>@@ -242,6 +242,24 @@ puts &quot;paid=#{person.paid}&quot;
 &lt;/div&gt;
 &lt;div class=&quot;slide&quot;&gt;
 
+	&lt;h1&gt;Methods and Parenthesis&lt;/h1&gt;
+
+
+&lt;div class=&quot;code-normal&quot;&gt;
+
+&lt;pre name=&quot;code&quot; class=&quot;ruby:nogutter:nocontrols&quot;&gt;
+
+def square(number)
+  number * number
+end
+
+square(2+2)*2 # =&amp;gt; square(4)*2 = 32
+square (2+2)*2 # =&amp;gt; square(4*2) = 64
+&lt;/pre&gt;&lt;/div&gt;
+
+&lt;/div&gt;
+&lt;div class=&quot;slide&quot;&gt;
+
 	&lt;h1&gt;Method Visibility&lt;/h1&gt;
 
 </diff>
      <filename>html/ruby.html</filename>
    </modified>
    <modified>
      <diff>@@ -59,6 +59,17 @@ h1. Methods
 * The last evaluated expression in a method is the return value
 * Arguments can have default values: def my_method(a, b = {})
 
+h1. Methods and Parenthesis
+
+:inlinecode
+def square(number)
+  number * number
+end
+
+square(2+2)*2 # =&gt; square(4)*2 = 32
+square (2+2)*2 # =&gt; square(4*2) = 64
+:endinlinecode
+
 h1. Method Visibility
 
 :inlinecode</diff>
      <filename>slides/ruby.slides</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>5b30b88286940d59a6324a012966aa2481cc0e88</id>
    </parent>
  </parents>
  <author>
    <name>Peter Marklund</name>
    <email>peter_marklund@fastmail.fm</email>
  </author>
  <url>http://github.com/peter/rails101/commit/afd5d3e29d772e355d4c1ac6870e616a5075b817</url>
  <id>afd5d3e29d772e355d4c1ac6870e616a5075b817</id>
  <committed-date>2009-02-21T02:09:22-08:00</committed-date>
  <authored-date>2009-02-21T02:09:22-08:00</authored-date>
  <message>Added slide about Ruby methods and parenthesis</message>
  <tree>835c0f33734cdd972b60ac158c3398c00e757bb6</tree>
  <committer>
    <name>Peter Marklund</name>
    <email>peter_marklund@fastmail.fm</email>
  </committer>
</commit>
