Joe Van Dyk wrote: >On 1/23/06, Mage <mage / mage.hu> wrote: > > > >The second edition of the book was released two years ago or so and >covers Ruby 1.8. You should read that one instead. > >Here's a pretty good summary of the changes in Ruby 1.8. >http://whytheluckystiff.net/articles/rubyOneEightOh.html > > Thanx. One of the things I don't understand are the semicolons. When I read the Book, it said: class SomeThing atrr_reader :x, :y end I figured out that the attr_reader need to get the name of the instance variables. However, what is this code good for? def make_point_hash( point ) center = { :x => 1, :y => 2 } big = { :r => 10 } center.merge( big ).merge( point ) end make_point_hash( { :x => 20 } ) #=> {:y=>2, :r=>10, :x=>20} What is that those semicolons do? Mage