Module: Navvy
- Defined in:
- lib/navvy.rb,
lib/navvy.rb,
lib/navvy/job.rb,
lib/navvy/logger.rb,
lib/navvy/worker.rb,
lib/navvy/job/sequel.rb,
lib/navvy/job/mongoid.rb,
lib/navvy/configuration.rb,
lib/navvy/job/data_mapper.rb,
lib/navvy/job/mongo_mapper.rb,
lib/navvy/job/active_record.rb
Defined Under Namespace
Classes: Configuration, Job, Logger, Railtie, Worker
Class Attribute Summary collapse
Class Method Summary
collapse
Class Attribute Details
.configuration ⇒ Object
14
15
16
|
# File 'lib/navvy.rb', line 14
def self.configuration
@configuration ||= Configuration.new
end
|
Class Method Details
18
19
20
|
# File 'lib/navvy.rb', line 18
def self.configure
yield(self.configuration)
end
|
.logger ⇒ Object
10
11
12
|
# File 'lib/navvy.rb', line 10
def self.logger
@logger || Navvy.configuration.logger
end
|