All pastes #918557 Raw Edit

Stuff

public text v1 · immutable
#918557 ·published 2008-02-26 05:10 UTC
rendered paste body
class Blah
    @@blah = 10

    def inc
        @@blah += 1
    end

    def blah
        @@blah
    end
end

b = Blah.new
p b.blah
c = Blah.new
p c.blah
b.inc
p c.blah