dry-types

https://github.com/dry-rb/dry-types

Ruby

Flexible type system for Ruby with coercions and constraints

Dry::Types::Enum#each_value

No Docs, write some!

Source | Google | Stack overflow

Edit

git clone git@github.com:dry-rb/dry-types.git

cd dry-types

open lib/dry/types/enum.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Dry--Types--Enum-each_value-for-pr


# Commit to git

git add lib/dry/types/enum.rbgit commit -m "better docs for Dry::Types::Enum#each_value"


# Open pull request

gem install hub # on a mac you can `brew install hub`

hub fork

git push <your name> -your-name--update-docs-Dry--Types--Enum-each_value-for-pr

hub pull-request


# Celebrate!