News for hackers. Stuff that matters.
Re:Worst Bug Ever by jballanc on Wednesday January 23, 2013 @02:07PM (#5104650)
That may be nasty, but that's how the semantics of method aliasing in Ruby work. Try this Ruby snippet to see what I mean:

    class Foo
      def say; puts "hello"; end
      alias shout say
    end
    
    class Bar < Foo
      def say; puts "howdy"; end
    end
    
    Foo.new.say #=> "hello"
    Bar.new.say #=> "howdy"
    Foo.new.shout #=> "hello"
    Bar.new.shout #=> "hello"
Re:Worst Bug Ever by eridius on Wednesday January 23, 2013 @08:18PM (#5106493)
Oh ugh. When is an alias not an alias? When it's Ruby, I guess.