Class: AutoPreload::Config

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

Overview

This class handles the gem configurations.

Instance Attribute Summary collapse

Instance Attribute Details

#adapterAutoPreload::Adapters::ActiveRecord, AutoPreload::Adapters::Serializer

Returns The adapter to use.



10
11
12
# File 'lib/auto_preload/config.rb', line 10

def adapter
  @adapter ||= AutoPreload::Adapters::ActiveRecord.new
end