News for hackers. Stuff that matters.
Re:Rubinius X, an experiment in modernizing Ruby by cheald on Tuesday October 15, 2013 @02:56PM (#6555524)
Sans ActiveSupport, you can achieve the same things by just opening class/module eigenclass:

    module Foo
      class << self
        attr_accessor :bar
      end
    end

    Foo.bar = "baz"
Re:Rubinius X, an experiment in modernizing Ruby by lobster_johnson on Tuesday October 15, 2013 @02:59PM (#6555547)
Sure, but wasn't that exactly what I wrote in my first example?
Re:Rubinius X, an experiment in modernizing Ruby by cheald on Tuesday October 15, 2013 @06:03PM (#6556670)
Oy, it is. Sorry; my brain is apparently missing its reading comprehension hat today.