News for hackers. Stuff that matters.
Re:Yehuda Katz's 10 Favorite Things About Ruby by jcapote on Monday August 24, 2009 @03:08PM (#782975)
Says who?

irb(main):001:0> class Fixnum

irb(main):002:1> def doit

irb(main):003:2> puts "hey"

irb(main):004:2> end

irb(main):005:1> end

=> nil

irb(main):006:0> 2.doit

hey

=> nil

irb(main):007:0>

Re:Yehuda Katz's 10 Favorite Things About Ruby by jeremymcanally on Monday August 24, 2009 @04:19PM (#783220)
Yup. Perhaps he was thinking of Python, where his assertion is true.
Re:Yehuda Katz's 10 Favorite Things About Ruby by blasdel on Monday August 24, 2009 @09:07PM (#783853)
Not true in Python either since new-style classes unified types and classes.