Categories: None [Edit]
upcastable
Duck typing sometimes results in `NoMethodError` unexpectedly by calling methods
some classes don't have even if the code pass a test using other classes which
have the methods. We can avoid such situations by upcasting.
All we have to do is implementing methods defined in the super class or module
and we don't have to care about whether or not methods defined only in some
subclasses are called.
Total
Ranking: 159,498 of 189,654
Downloads: 3,358
Daily
Ranking: 94,537 of 189,628
Downloads: 0
Downloads Trends
Ranking Trends
Num of Versions Trends
Popular Versions (Major)
Popular Versions (Major.Minor)
Depended by
| Rank | Downloads | Name |
|---|
Owners
| # | Gravatar | Handle |
|---|---|---|
| 1 | a_bicky |