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,981 of 188,368
Downloads: 7,917
Daily
Ranking: 83,225 of 188,354
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 |
|---|---|---|
| 29 | 937,210,484 | rspec |
Owners
| # | Gravatar | Handle |
|---|---|---|
| 1 | lsiden |