dry-types
https://github.com/dry-rb/dry-types
Ruby
Flexible type system for Ruby with coercions and constraints
SchemaBench.hash_schema
No Docs, write some!
Edit
git clone [email protected]:dry-rb/dry-types.git
cd dry-types
open benchmarks/hash_schemas.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-SchemaBench-hash_schema-for-pr
# Commit to gitgit add benchmarks/hash_schemas.rbgit commit -m "better docs for SchemaBench.hash_schema"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-SchemaBench-hash_schema-for-pr
hub pull-request
# Celebrate!