Project

General

Profile

Bug #2537 » test.rb

bon (Nobuhide Nakabo), 12/28/2009 01:24 PM

 
class Test
def self.test(&block)
block.call
end
end


class AAA
def aaa
p "---- super class ----"
end
end

class AAA_2 < AAA
def aaa
Test.test do
super
end
end
end

AAA_2.new.aaa
    (1-1/1)