title: Having trouble loading a ruby file from desktop to irb
body: <p>I am working on a small app in Ruby.  The file is called "cookbook.rb" and it is saved on my Mac desktop.  </p>
  
  <p>At first I type </p>
  
  <pre><code>cd desktop 
  </code></pre>
  
  <p>which takes me into desktop, and then I try and load the file so that I can check it out in irb.  I type this:</p>
  
  <pre><code>load 'cookbook.rb'
  </code></pre>
  
  <p>and I keep getting this error:</p>
  
  <pre><code>SyntaxError: cookbook.rb:11: syntax error, unexpected keyword_end, expecting end-of-input
  from (irb):1:in `load'
  from (irb):1
  from /usr/bin/irb:12:in `&lt;main&gt;'
  </code></pre>
  
  <p>Can someone tell me what I'm doing wrong?  I followed the same directions that I used to create and work on another .rb file, and it worked just fine before.  </p>
  
  <p>Sorry for the confusion...here is the file cookbook.rb</p>
  
  <pre><code> Cookbook = Class.new
  
   Recipe = Class.new
  
   Class Cookbook
       def initialize(title)
           @title = title
       end
   end
  
  Class Recipe
      def initialize(title, ingredients, steps)
          @title = title
          @ingredients = ingredients
          @steps = steps
      end
  end
  </code></pre>