Top Level Namespace

Defined Under Namespace

Modules: Contracts, Expectation Classes: Exception, Module

Instance Method Summary collapse

Instance Method Details

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



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

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