# File lib/bacon.rb, line 263
263: def change?
264: pre_result = yield
265: called = call
266: post_result = yield
267: pre_result != post_result
268: end
# File lib/bacon.rb, line 239
239: def raise?(*exceptions)
240: exceptions = [RuntimeError] if exceptions.empty?
241: call
242:
243: # Only to work in 1.9.0, rescue with splat doesn't work there right now
244: rescue Object => e
245: case e
246: when *exceptions
247: e
248: else
249: raise e
250: end
251: else
252: false
253: end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.