Class: Ponytail::Configuration

Inherits:
Object
  • Object
show all
Includes:
ActiveSupport::Configurable
Defined in:
lib/ponytail/config.rb

Instance Method Summary collapse

Instance Method Details

#update_schemaObject Also known as: update_schema?

for lazy load



28
29
30
31
# File 'lib/ponytail/config.rb', line 28

def update_schema
  config.update_schema = config.update_schema.call if config.update_schema.respond_to?(:call)
  config.update_schema
end