Sha256: e78d209bc7f75fde3abd5da31117cb82e9849bad803b73c02fde64fc27b77ad2
Contents?: true
Size: 334 Bytes
Versions: 3
Compression:
Stored size: 334 Bytes
Contents
module PropCheck ## # Integration with RSpec module RSpec # To make it available within examples def self.extend_object(obj) obj.define_method(:forall) do |*args, **kwargs, &block| PropCheck::Property.forall(*args, **kwargs) do instance_exec(self, &block) end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
prop_check-0.6.2 | lib/prop_check/rspec.rb |
prop_check-0.6.1 | lib/prop_check/rspec.rb |
prop_check-0.6.0 | lib/prop_check/rspec.rb |