Class: EnumExt::EnumExtConfig

Inherits:
Object
  • Object
show all
Defined in:
lib/enum_ext/config.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeEnumExtConfig

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_classObject

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_helpersObject

Returns the value of attribute default_helpers.



3
4
5
# File 'lib/enum_ext/config.rb', line 3

def default_helpers
  @default_helpers
end