Categories: None [Edit]
subload
A handy dandy autoload / require / load helper for your rubies. Similar to
using[1], but with a few differences of opinion, and a bit shorter.
Basically, expand path is fine, up until a point. Sometimes there's no point
(i.e. when the load path already contains most of the path you're trying to
open). When you're writing libs that users might require sub parts with
'libname/sub_part', then expand_path combined with say, rubygems, can lead to
double requires. Lets not do that. :-)
[1] http://github.com/smtlaissezfaire/using/
Total
Ranking: 76,441 of 196,125
Downloads: 13,206
Daily
Ranking: 30,884 of 196,106
Downloads: 1
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 |
|---|---|---|
| 2,380 | 9,508,695 | hoe |
| 12,332 | 220,878 | hoe-git |
| 27,180 | 55,482 | hoe-doofus |
| 118,510 | 6,286 | hoe-gemcutter |
Owners
| # | Gravatar | Handle |
|---|---|---|
| 1 | raggi |