class Bail::RaiseBehavior
Public Instance Methods
run() { |block| ... }
click to toggle source
# File lib/bail/behavior/raise_behavior.rb, line 5 def run(&block) yield block rescue Bail::ConditionError => e if not Bail.suppress_output Bail.logger.warn(e.message) end raise e end