class Kuroko2::Workflow::Task::AutoSkipError
Constants
- TRUE_OPTIONS
Public Instance Methods
auto_skip_error?()
click to toggle source
# 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
execute()
click to toggle source
# File lib/autoload/kuroko2/workflow/task/auto_skip_error.rb, line 7 def execute token.context['AUTO_SKIP_ERROR'] = auto_skip_error? Kuroko2.logger.info("(token #{token.uuid}) AUTO_SKIP_ERROR: #{auto_skip_error?}") :next end