Object-oriented enumerations for Ruby

Enum This gem is an attempt to provide a lightweight (< 300 LOC, no dependencies) solution for object-oriented enumerations in Ruby. Ruby does not provide out of the box an enumerated type and the typical way of handling

Related Repos

KrauseFx overkill ? ? Did iTunes ever launch without you opening the app? Use overkill to instantly kill iTunes once it opened itself, so your workflow isn't interrupted. Reasons why iTunes launches: You connect an iPh

jamis Castaway Want to create an online presentation or screencast, but are frustrated by complicated interfaces or expensive tools? Maybe you're using one that almost does what you need, but that one feature it's missing is a deal-bre

sbscully Functo Composable method objects in ruby. Usage class AddsOne include Functo.call :add, :number def add number + 1 end end AddsOne[1] # `.call` or `.()` also work # => 2 class Multiplies include Fu

shlima TranslateEnum Simple, zero-dependant enum translation gem for Rails Installation gem install translate_enum Usage Here is a regular use case. ActiveRecord model: class Post < ActiveRecord::Base

janlelis unibits | Reveal the Unicode Ruby library and CLI command that visualizes various Unicode and ASCII/single byte encodings in the terminal: Makes analyzing encodings easier Helps you with debugging strings Highlights inv

shiroyasha Kamisama Start, monitor, and observe background worker processes, from Ruby. Based on Unicorn, God, and Sidekiq. Usage Kamisama is useful for starting multiple background workers. For example, let's say that you ha

dpogue rails_server_timings Rails support for returning Server Timing headers on requests providing instrumentation information to in-browser developer tools. Download Github: https://github.com/dpogue/rails_server_timin

damln See the schema Create a model Create a many to many relation Create a migration Using the Capture plugin INSTALL Only tested with Rails 4.2 and Rails 5.1 (shoul