Registry / utility / expectation

expectation

JSON →
library1.1.5rbrubygemsunverified

Defensive programming with expectations.

gem install expectation
INSTALL
IMPORT
SIG · EXPECTATION
E
expectation
utilityrubyv1.1.5
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Expectation
require 'expectation'

Define and check an expectation that a value is positive.

require 'expectation' Expectation.new { |value| value > 0 }.check(5) # => true
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.1.5latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
2 hits · last 30 days
node
2
Resources
expectation — gem install expectation · libregistry