Module: EnumAttribute

Defined in:
lib/enum_attribute.rb

Defined Under Namespace

Modules: ClassMethods

Class Method Summary collapse

Class Method Details

.included(target) ⇒ Object



3
4
5
6
7
# File 'lib/enum_attribute.rb', line 3

def self.included target
  target.class_eval do
    extend EnumAttribute::ClassMethods
  end
end