Skip to content

Contracts-rb 0.4.0

Choose a tag to compare

@theworker02 theworker02 released this 14 Aug 08:46
· 16 commits to main since this release
fd926bf
  • Added Contracts.all to require every nested constraint to match.
  • Added Contracts.length(min:, max:, exactly:) for String, Array, Hash, and other sized values.

Published on RubyGems: https://rubygems.org/gems/contracts-rb/versions/0.4.0

See CHANGELOG.md for this release.