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: 101,954 of 192,137
Downloads: 8,048
Daily
Ranking: 46,395 of 192,103
Downloads: 3
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 |
|---|---|---|
| 29 | 970,934,436 | rspec |
Owners
| # | Gravatar | Handle |
|---|---|---|
| 1 | lsiden |