Exception: WIP::Runner::Error
- Inherits:
-
StandardError
- Object
- StandardError
- WIP::Runner::Error
- Defined in:
- lib/wip/runner/errors.rb
Direct Known Subclasses
Instance Method Summary collapse
Instance Method Details
#message ⇒ Object
13 14 15 16 17 18 19 |
# File 'lib/wip/runner/errors.rb', line 13 def prefix = self.class.name.split('::').last .gsub(/([A-Z])/, " \\1") .strip .capitalize "#{prefix}: #{super}".sub(/\s\n/, "\n") end |