module States::Dsl::ErrorSupport
Protected Instance Methods
ensure_errors_array(arr)
click to toggle source
# File lib/states/dsl/error_support.rb, line 5 def ensure_errors_array(arr) [arr].flatten.map { |exc| exc == :all ? "States.ALL" : exc } end