Method: Transcriptic::UI#error_with_failure
- Defined in:
- lib/transcriptic/ui.rb
#error_with_failure(message) ⇒ Object
247 248 249 250 251 |
# File 'lib/transcriptic/ui.rb', line 247 def error_with_failure() .gsub!(/^ +! */, '') display .split("\n").map { |line| " ! #{line}" }.join("\n") exit 1 end |