Sha256: 333aba77ae0b1e287c6ebfb9ee319296aab203efc89bd1346d6c17828aba74e9
Contents?: true
Size: 484 Bytes
Versions: 3
Compression:
Stored size: 484 Bytes
Contents
require_relative File.join 'expect', 'expectation_target' # Namespace for the Expect library. # # @api public # # @example Expect 42 to be equal to 42 # Expect.this { 42 }.to equal: 42 # => true module Expect # Expectations are built with this method. # # @api public # # @example Identity expectation # this { 42 }.to equal: 42 # => true # # @return [ExpectationTarget] the expectation target. def self.this(&input) ExpectationTarget.new(&input) end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
expect-0.0.8 | lib/expect.rb |
expect-0.0.7 | lib/expect.rb |
expect-0.0.6 | lib/expect.rb |