enumerations
Better Rails Enumerations (by infinum)
enums
DIY (Do-It-Yourself) - Yes, You Can! Pixel Art Collection Quick Starter - Generate Algorithmically Your Own Curated (or Randomized) Collection [Moved to: https://github.com/cryptopunksnotdead/punks.starter] (by typesigs)
enumerations | enums | |
---|---|---|
1 | 2 | |
38 | 145 | |
- | - | |
3.9 | 8.2 | |
8 months ago | over 2 years ago | |
Ruby | Ruby | |
MIT License | Creative Commons Zero v1.0 Universal |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
enumerations
Posts with mentions or reviews of enumerations.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-03-09.
-
Is this a bad way to create a custom Enum in Ruby?
I have been using this gem https://github.com/infinum/enumerations
enums
Posts with mentions or reviews of enums.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-03-09.
-
Is this a bad way to create a custom Enum in Ruby?
For an alternative enum class ready to use and all packed up in a gem, see https://github.com/typesigs/enums. Here's the "magic" code without any structs used from the README:
-
An enum without a third-party library, in Ruby 3.0
See https://github.com/typesigs/enums#why-enums-in-ruby for some more ways. Of course, the better way is to use the enum macro to (auto-)build a class and code :-).
What are some alternatives?
When comparing enumerations and enums you can also consider the following projects:
cloudfront-signer - Ruby gem for signing AWS CloudFront private content URLs and streaming paths.
punks.sandbox - punks.sandbox - how-tos and samples scripts to generate your own (crypto) punk pixel art and more
enums - Helpers for making PHP enums more lovable.
safedata - pixelart.js - draw pixel art images using any design (in ascii text) in any colors; incl. 2x/4x/8x zoom for bigger sizes and more [Moved to: https://github.com/cryptopunksnotdead/pixelart.js]
artbase - artbase ("right-clicker") command line tool & scripts - download complete pixel art collections - yes, you can! - automate "right-click 'n' save" and much more