Module: AdminData::SetupConfig::ClassMethods
- Defined in:
- lib/admin_data/setup_config.rb
Instance Attribute Summary collapse
-
#configuration ⇒ Object
See AdminData::Configuration for details.
Instance Method Summary collapse
-
#config ⇒ Object
Call this method to customize the behavior of admin_data .
Instance Attribute Details
#configuration ⇒ Object
See AdminData::Configuration for details.
9 10 11 |
# File 'lib/admin_data/setup_config.rb', line 9 def configuration @configuration end |
Instance Method Details
#config ⇒ Object
Call this method to customize the behavior of admin_data .
17 18 19 20 |
# File 'lib/admin_data/setup_config.rb', line 17 def config self.configuration ||= Configuration.new block_given? ? yield(configuration) : configuration end |