News for hackers. Stuff that matters.
Re:Ruby 2.1 Garbage Collection to Address Criticism on Large... by steveklabnik on Monday September 16, 2013 @12:26PM (#6394046)
> It is not extending String. It is extending a specific instance of String, and thus not even touching the String class, but the eigenclass of the object:

Whoops!

  module ContentTyped
    def self.inherited(base)
      String.instance_eval do
        def lol
          "lol"
        end
      end
    end
  end

There are no comments on this comment yet.