Sha256: e795e8487a20b6c9d7ccc654aa2826e4c298b454c267a1946f34eba6b7ab5451

Contents?: true

Size: 392 Bytes

Versions: 1

Compression:

Stored size: 392 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
  #   expect { 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.2 lib/expect.rb