Categories: None [Edit]
significance
Similar in behavior to Object#presence defined in ActiveSupport,
Significance is a state which determines not just the blank-ness of an
object but whether or not the non-blank object has any real-world value.
The utility of this gem can best be demonstrated when considering the
merging of two hashes. Under normal circumstances the mere existence of an
equivalent key in the second hash results in its overriding the
corresponding value in the original hash. Using Hash#significant_merge,
however, the second hash will retain only key-value pairs whose values are
"significant," even applying the significance filter recursively into child
hashes or arrays.
Total
Ranking: 68,328 of 198,650
Downloads: 16,013
Daily
Ranking: 73,148 of 198,575
Downloads: 0
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 |
|---|---|---|
| 1 | 3,956,487,633 | bundler |
| 6 | 1,479,911,661 | activesupport |
| 29 | 1,042,067,631 | rspec |
| 142 | 376,087,055 | rdoc |
| 4,421 | 2,345,454 | jeweler |
Owners
| # | Gravatar | Handle |
|---|---|---|
| 1 | caleon |