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,123 of 186,715
Downloads: 7,651
Daily
Ranking: 91,837 of 186,700
Downloads: 4
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 |
---|---|---|
27 | 909,005,466 | rspec |
Owners
# | Gravatar | Handle |
---|---|---|
1 | lsiden |