Module: Eras

Defined in:
lib/eras.rb,
lib/eras/config.rb,
lib/eras/engine.rb,
lib/eras/version.rb,
lib/eras/error_reporter.rb,
lib/eras/adapters/file_system.rb,
app/models/eras/application_record.rb,
app/helpers/eras/application_helper.rb,
app/controllers/eras/errors_controller.rb,
app/controllers/eras/application_controller.rb

Defined Under Namespace

Modules: Adapters, ApplicationHelper Classes: ApplicationController, ApplicationRecord, Config, Engine, ErrorReporter, ErrorsController

Constant Summary collapse

VERSION =
"0.2.10"

Class Method Summary collapse

Class Method Details

.adapterObject



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

def self.adapter
  config.adapter
end

.configObject



6
7
8
# File 'lib/eras.rb', line 6

def self.config
  @config ||= Eras::Config.new
end

.configure {|config| ... } ⇒ Object

Yields:



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

def self.configure
  yield config
end