Module: TemporalEnum
- Includes:
- EnumMethods
- Defined in:
- lib/temporal_enum.rb,
lib/temporal_enum/enum.rb,
lib/temporal_enum/version.rb,
lib/temporal_enum/enum_methods.rb
Overview
Override ActiveRecord’ Enum to add methods and scopes
Defined Under Namespace
Modules: Enum, EnumMethods Classes: ActiveRecordVersionNotSupported
Constant Summary collapse
- VERSION =
"0.1.0"
Class Method Summary collapse
Class Method Details
.enum_options ⇒ Object
10 11 12 |
# File 'lib/temporal_enum.rb', line 10 def self. @enum_options ||= HashWithIndifferentAccess.new end |