Class EnumeratedAttribute::MethodDefinitionDSL
In: lib/enumerated_attribute/method_definition_dsl.rb
Parent: Object

Methods

dec   decrementor   define   enums   enums_accessor   inc   incrementor   init   is   is_not   isnt   label   labels   method_missing   new   plural  

Attributes

decrementor_name  [R] 
incrementor_name  [R] 
initial_value  [R] 
pluralized_name  [R] 

Public Class methods

Public Instance methods

dec(value)

Alias for decrementor

we‘ll by pass this - they can use it if it helps make code more readable - not enforced - should it be??

enums(value)

Alias for enums_accessor

inc(value)

Alias for incrementor

isnt(*args)

Alias for is_not

labels(hash)

Alias for label

plural(value)

Alias for enums_accessor

[Validate]