Class: Tap::Tasks::Error

Inherits:
Tap::Task
  • Object
show all
Defined in:
lib/tap/tasks/error.rb

Overview

:startdoc::task raises an error

Error raises a Runtime error when called. The input specifies the error message.

Instance Method Summary collapse

Instance Method Details

#process(msg = nil) ⇒ Object



11
12
13
# File 'lib/tap/tasks/error.rb', line 11

def process(msg=nil)
  raise msg
end