Module: ExportMongoS3
- Defined in:
- lib/export_mongo_s3.rb,
lib/export_mongo_s3/db.rb,
lib/export_mongo_s3/storage.rb,
lib/export_mongo_s3/scheduler.rb,
lib/export_mongo_s3/application.rb
Defined Under Namespace
Classes: Application, Db, Scheduler, Storage
Class Method Summary
collapse
Class Method Details
.name ⇒ Object
18
19
20
|
# File 'lib/export_mongo_s3.rb', line 18
def self.name
File.basename( __FILE__, '.rb')
end
|
.root_path ⇒ Object
22
23
24
25
26
|
# File 'lib/export_mongo_s3.rb', line 22
def self.root_path
@root_path if @root_path
spec = Gem::Specification.find_by_name(self.name)
@root_path = spec.gem_dir
end
|