Sha256: ab76e186cf71d1d267312c773cf02a24126c8db7198986dbf59589c58f6744be

Contents?: true

Size: 224 Bytes

Versions: 1

Compression:

Stored size: 224 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

require 'has_enum/formtastic'

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
has_enum-0.7.2 lib/has_enum.rb