module ExportMongoS3

Public Class Methods

name() click to toggle source
# File lib/export_mongo_s3.rb, line 18
def self.name
  File.basename( __FILE__, '.rb')
end
root_path() click to toggle source
# 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