Top Level Namespace

Defined Under Namespace

Modules: Contracts, Expectation Classes: Exception, Module

Instance Method Summary collapse

Instance Method Details

#expect!(*args, &block) ⇒ Object



59
60
61
62
63
# File 'lib/expectation.rb', line 59

def expect!(*args, &block)
  Expectation.expect! *args, &block
rescue Expectation::Error
  $!.reraise_with_current_backtrace!
end