Sha256: 33b167cf0ae6e1f50244266d490dcb7e4dc728e4f1e505f53929b79edc8c51b0
Contents?: true
Size: 623 Bytes
Versions: 1
Compression:
Stored size: 623 Bytes
Contents
# encoding: utf-8 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 BadId < StandardError def initialize(repeated_id) @repeated_id = repeated_id end attr_reader :repeated_id end class RepeatedId < StandardError; end class InvalidId < StandardError; end class InvalidOptions < StandardError; end class ObjectNotFound < StandardError; end end Module.send(:include, EnumField::DefineEnum) require 'enum_field/railtie'
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
galetahub-enum_field-0.1.4 | lib/enum_field.rb |