Categories: None [Edit]
model-mapper
Declare once how fields map from one object to another, and Mappable compiles it into plain Ruby methods that copy the data both ways at close to hand-written speed. Rename fields, combine several into one (first_name + last_name -> name) and split them back out, and skip fields with conditions on the source, the destination or the mapping itself. Works with any objects that have getters and setters: Structs, ActiveRecord models, plain Ruby classes.
Total
Ranking: 166,896 of 197,776
Downloads: 3,228
Daily
Ranking: 53,531 of 197,744
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 |
|---|---|---|
| 70,569 | 15,154 | inheritance-helper |
Owners
| # | Gravatar | Handle |
|---|---|---|
| 1 | dougyouch |