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