Sha256: e6d3c8b4bebf1a2a6e0b876781ec35d8996d3b83a570e4b3f4ef171e3465090c
Contents?: true
Size: 236 Bytes
Versions: 3
Compression:
Stored size: 236 Bytes
Contents
module Spec module ObjectExpectations def should ShouldHelper.new self end end end class Object include Spec::ObjectExpectations end class Numeric def close?(other, precision) (self - other).abs < precision end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
rspec-0.5.0 | lib/spec/api/expectations.rb |
rspec-0.5.1 | lib/spec/api/expectations.rb |
rspec-0.5.2 | lib/spec/api/expectations.rb |