⚲
Project
General
Profile
Sign in
Register
Home
Projects
Help
Search
:
Ruby master
All Projects
Ruby
»
Ruby master
Overview
Activity
Roadmap
Issues
Repository
Like
Download (217 Bytes)
Bug #3351
ยป super.rb
serge_balyuk (Serge Balyuk)
, 05/27/2010 03:45 PM
class
Base
def
foo
puts
"bar"
end
end
module
Override
def
foo
puts
"override"
super
end
end
class
A
<
Base
end
class
B
<
A
end
B
.
send
(
:include
,
Override
)
A
.
send
(
:include
,
Override
)
B
.
new
.
foo
(1-1/1)
Loading...