Sha256: c9eca78cb2051ce9bac50ca34a367d359d9eee264017d7e3aa5ed9bed3f9c2b7

Contents?: true

Size: 390 Bytes

Versions: 1

Compression:

Stored size: 390 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 Duck example
  #   this { 42 }.to equal: 42 # => true
  #
  # @return [ExpectationTarget] the expectation target.
  def self.this(&input)
    ExpectationTarget.new(&input)
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
expect-0.0.3 lib/expect.rb