Defined in github.com/randym/axlsx/lib/axlsx/util/validators.rb
The name of what is being validatied. This is included in the error message
The list of choices to validate against
The value to be validated
Raised if the value provided is not in the list of choices.
def self.validate(name, choices, v)
raise ArgumentError, (ERR_RESTRICTION % [v.to_s, name, choices.inspect]) unless choices.include?(v)