Sha256: 62a6a158ec2ab227c6d73ca385e09d8ee91348d3a56408725599e1755f659c5e

Contents?: true

Size: 398 Bytes

Versions: 2

Compression:

Stored size: 398 Bytes

Contents

require_relative File.join 'expect', 'expectation_target'

# Namespace for the Expect library.
#
# @api private
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

2 entries across 2 versions & 1 rubygems

Version Path
expect-0.0.5 lib/expect.rb
expect-0.0.4 lib/expect.rb