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: 100,495 of 187,603
Downloads: 7,863
Daily
Ranking: 87,218 of 187,591
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 |
|---|---|---|
| 28 | 925,144,006 | rspec |
Owners
| # | Gravatar | Handle |
|---|---|---|
| 1 | lsiden |