# File lib/ruote/exp/ro_on_x.rb, line 128 def match(regex_or_err) if regex_or_err.is_a?(Regexp) @action.match(regex_or_err) else @pat.match(regex_or_err['message']) || @pat.match(regex_or_err['class']) end end