Class: Sapphire::DSL::Events::Expectation

Inherits:
Object
  • Object
show all
Defined in:
lib/sapphire/DSL/Events/Expectation.rb

Instance Method Summary collapse

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