# File lib/enumerated_attribute/attribute/arguments.rb, line 4 def self.validate_enum_attr_arguments(config) raise(InvalidDefinition, 'second argument of enumerated_attribute/enum_attr is not an array of symbols or strings representing the enum values', caller) if config.enums.empty? end