Class: EnumExt::EnumExtConfig
- Inherits:
-
Object
- Object
- EnumExt::EnumExtConfig
- Defined in:
- lib/enum_ext/config.rb
Instance Attribute Summary collapse
-
#application_record_class ⇒ Object
Returns the value of attribute application_record_class.
-
#default_helpers ⇒ Object
Returns the value of attribute default_helpers.
Instance Method Summary collapse
-
#initialize ⇒ EnumExtConfig
constructor
A new instance of EnumExtConfig.
Constructor Details
#initialize ⇒ EnumExtConfig
Returns a new instance of EnumExtConfig.
5 6 7 |
# File 'lib/enum_ext/config.rb', line 5 def initialize self.default_helpers = [:multi_enum_scopes, :mass_assign_enum] end |
Instance Attribute Details
#application_record_class ⇒ Object
Returns the value of attribute application_record_class.
3 4 5 |
# File 'lib/enum_ext/config.rb', line 3 def application_record_class @application_record_class end |
#default_helpers ⇒ Object
Returns the value of attribute default_helpers.
3 4 5 |
# File 'lib/enum_ext/config.rb', line 3 def default_helpers @default_helpers end |