Sha256: e9439e9fdcacbfd3553f1a1da93fabe8213dafa5a5e39bb1152048099fb2c245
Contents?: true
Size: 530 Bytes
Versions: 3
Compression:
Stored size: 530 Bytes
Contents
# encoding: utf-8 # Basic usage: # # class Role # include EnumField::DefineEnum # # define_enum do # member :admin # member :manager # member :employee # end # end # module EnumField autoload :DefineEnum, 'enum_field/define_enum' autoload :Builder, 'enum_field/builder' autoload :EnumeratedAttribute, 'enum_field/enumerated_attribute' autoload :Version, 'enum_field/version' class RepeatedId < StandardError; end class InvalidId < StandardError; end class ObjectNotFound < StandardError; end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
galetahub-enum_field-0.5.2 | lib/enum_field.rb |
galetahub-enum_field-0.5.1 | lib/enum_field.rb |
galetahub-enum_field-0.5.0 | lib/enum_field.rb |