module Kernel
Public Instance Methods
assert(*args, &block)
click to toggle source
# File lib/passert/core_ext.rb, line 8 def assert(*args, &block) Passert.assert(*args, &block) rescue AssertionFailed => e # Remove this method from the backtrace, since it's not helpful. e.backtrace.shift raise e end
assert?(*args, &block)
click to toggle source
# File lib/passert/core_ext.rb, line 16 def assert?(*args, &block) Passert.assert?(*args, &block) end