output an object/variable's name:

class Person
  def love(name)
    # out put a love b
  end
end

boy = Person.new
girl=Person.new
boy.love(girl) #=>should output "boy love girl"

I think this is very nice feature!~

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