Module: ActiveArchive

Defined in:
lib/active_archive.rb,
lib/active_archive/base.rb,
lib/active_archive/scopes.rb,
lib/active_archive/methods.rb,
lib/active_archive/version.rb,
lib/active_archive/configuration.rb,
lib/active_archive/table_definition.rb,
lib/generators/active_archive/install_generator.rb

Defined Under Namespace

Modules: Base, Methods, Scopes, TableDefinition Classes: Configuration, InstallGenerator, Railtie

Class Method Summary collapse

Class Method Details

.configurationObject


14
15
16
# File 'lib/active_archive/configuration.rb', line 14

def self.configuration
  @configuration ||= Configuration.new
end

.configuration=(config) ⇒ Object


18
19
20
# File 'lib/active_archive/configuration.rb', line 18

def self.configuration=(config)
  @configuration = config
end

.configure {|configuration| ... } ⇒ Object

Yields:


22
23
24
# File 'lib/active_archive/configuration.rb', line 22

def self.configure
  yield(configuration)
end