Categories: None [Edit]
template_class
In most cases Ruby doesn't need templated classes, nor any other system of generics, because it isn't statically type checked. However, sometimes we need to automatically generate multiple similar classes, either because of poor design or because of external necessities. For example, to define a GraphQL schema with GraphQL Ruby (https://graphql-ruby.org/) we need to define a distinct class for each type. Since GraphQL is statically type checked but doesn't provide generics, if we need a set of similar but distinct types we're left to define them one by one.
Total
Ranking: 163,395 of 187,267
Downloads: 2,833
Daily
Ranking: 85,218 of 187,255
Downloads: 2
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 |
---|---|---|
7 | 1,197,045,381 | activesupport |
Owners
# | Gravatar | Handle |
---|---|---|
1 | Moku | |
2 | RiccardoAgatea_Moku |