module Enumerize::ActiveModelAttributesSupport
def enumerize(name, options={})
def enumerize(name, options={}) super _enumerize_module.dependent_eval do if self.included_modules.include? ::ActiveModel::Attributes include InstanceMethods attribute name, Enumerize::ActiveModelAttributesSupport::Type.new(enumerized_attributes[name]) end end end