# File lib/enumerize/integrations/rails_admin.rb, line 5 def enumerize(name, options={}) super _enumerize_module.module_eval def #{name}_enum self.class.enumerized_attributes[:#{name}].values.map{|v| [v.text, v.value]} end, __FILE__, __LINE__ + 1 end
Generated with the Darkfish Rdoc Generator 2.