# File lib/wicked/controller/concerns/steps.rb, line 60 def check_protected!(wizard_steps) string_steps = wizard_steps.map(&:to_s) if protected_step = PROTECTED_STEPS.detect { |protected| string_steps.include?(protected) } msg = "Protected step detected: '#{protected_step}' is used internally by Wicked please rename your step" raise WickedProtectedStepError, msg end end
Generated with the Darkfish Rdoc Generator 2.