Sha256: 596a3a204e0c2c245efb2ffc9c6fe2da6b3973560bb82ddce8c9ef34f4162e56
Contents?: true
Size: 276 Bytes
Versions: 9
Compression:
Stored size: 276 Bytes
Contents
module HasEnum autoload :ClassMethods, 'has_enum/class_methods' def self.included(base) base.extend ClassMethods end end class ActiveRecord::Base include HasEnum end begin require 'formtastic' require 'has_enum/formtastic' rescue LoadError end
Version data entries
9 entries across 9 versions & 1 rubygems