Class: Fix::It
- Inherits:
-
Object
- Object
- Fix::It
- Defined in:
- lib/fix/it.rb
Overview
Wraps the target of an expectation.
Instance Method Summary collapse
-
#expect(object) ⇒ Expect
Create a new expection target given an object.
-
#expect_block(&block) ⇒ Expect
Create a new expection target given a block.
-
#is_expected ⇒ Expect
Create a new expection target given the subject.
Instance Method Details
#expect(object) ⇒ Expect
Create a new expection target given an object.
14 15 16 |
# File 'lib/fix/it.rb', line 14 def expect(object) Expect.new(object, *challenges) end |