Method: Cucumber::Undefined.from
- Defined in:
- lib/cucumber/errors.rb
permalink .from(result, step_name) ⇒ Object
[View source] [View on GitHub]
8 9 10 11 12 13 14 15 16 |
# File 'lib/cucumber/errors.rb', line 8 def self.from(result, step_name) return result.(with_prefix(result.)) if result.is_a?(self) begin raise self, with_prefix(step_name) rescue StandardError => e e end end |