Class: Kuroko2::Workflow::Task::AutoSkipError
- Defined in:
- lib/autoload/kuroko2/workflow/task/auto_skip_error.rb
Constant Summary collapse
- TRUE_OPTIONS =
['1', 'true', 'TRUE']
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from Kuroko2::Workflow::Task::Base
Instance Method Details
#auto_skip_error? ⇒ Boolean
13 14 15 16 |
# File 'lib/autoload/kuroko2/workflow/task/auto_skip_error.rb', line 13 def auto_skip_error? return @auto_skip_error if defined? @auto_skip_error @auto_skip_error = option ? TRUE_OPTIONS.include?(option.strip) : false end |