Ruby and Python are very similar. There are some minor differences 
(muliple inheritance/mixins, etc). The major difference, however, is 
that Ruby has blocks.

Like this:

[1, 2, 3].map{|i| i * 2}
=>
[2, 4, 6]

You would probably do this with a list comprehension in Python. This is 
one of the tasks of blocks in Ruby.

Another difference is that you cannot access instance variables of an 
object from the outside world. All communication goes through methods.

If you compare Ruby and Python, the number of differences is relatively 
low, however.

Jules

-- 
Posted via http://www.ruby-forum.com/.