module BatchManager

Constants

VERSION

Public Class Methods

batch_dir() click to toggle source
# File lib/batch_manager.rb, line 10
def batch_dir
  Rails.application.config.batch_manager.batch_dir
end
log_dir() click to toggle source
# File lib/batch_manager.rb, line 14
def log_dir
  path = Rails.application.config.batch_manager.log_dir
  path = File.join(Rails.root, path) unless path.start_with?("/")
  path
end
logger() click to toggle source
# File lib/batch_manager.rb, line 28
def logger
  @@logger ||= ::Logger.new(STDOUT)
end
save_log?() click to toggle source
# File lib/batch_manager.rb, line 20
def save_log?
  Rails.application.config.batch_manager.save_log
end
signal() click to toggle source
# File lib/batch_manager.rb, line 24
def signal
  "=Batch Manager="
end