Class: Sapphire::DSL::Events::Expectation
- Defined in:
- lib/sapphire/DSL/Events/Expectation.rb
Instance Method Summary collapse
-
#initialize(hash, constraint) ⇒ Expectation
constructor
A new instance of Expectation.
Constructor Details
#initialize(hash, constraint) ⇒ Expectation
Returns a new instance of Expectation.
6 7 8 9 |
# File 'lib/sapphire/DSL/Events/Expectation.rb', line 6 def initialize(hash, constraint) @hash = hash @constraint = constraint end |