class Bacon::TestUnitOutput::TapOutput::Proc
Public Instance Methods
change?() { || ... }
click to toggle source
# File lib/bacon.rb, line 265 def change? pre_result = yield call post_result = yield pre_result != post_result end
raise?(*exceptions)
click to toggle source
# File lib/bacon.rb, line 249 def raise?(*exceptions) call rescue *(exceptions.empty? ? RuntimeError : exceptions) => e e else false end
throw?(sym)
click to toggle source
# File lib/bacon.rb, line 257 def throw?(sym) catch(sym) { call return false } return true end