Categories: None [Edit]
overider
class A
def hello
"hello"
end
end
# Later, I want to overide class A methods
class A
extend Overider
overide (:hello) do |*a|
overiden(*a) + " overide"
end
end
A.new.hello # ==> "hello overide"
Total
Ranking: 98,646 of 183,127
Downloads: 7,405
Daily
Ranking: 38,694 of 183,106
Downloads: 2
Downloads Trends
Ranking Trends
Num of Versions Trends
Popular Versions (Major)
Popular Versions (Major.Minor)
Depended by
Rank | Downloads | Name |
---|
Depends on
Rank | Downloads | Name |
---|---|---|
25 | 818,160,872 | rspec |
Owners
# | Gravatar | Handle |
---|---|---|
1 | lsiden |