module Ruboty::Capistrano
Constants
- VERSION
Public Class Methods
config()
click to toggle source
# File lib/ruboty/capistrano.rb, line 15 def self.config @config ||= Ruboty::Capistrano::Config.config end
logger()
click to toggle source
# File lib/ruboty/capistrano.rb, line 19 def self.logger return STDOUT if Ruboty::Capistrano.config.log_path.to_s.empty? return @logger if @logger log_path = File.join(Ruboty::Capistrano.config.log_path, "#{DateTime.now.strftime('%Y%m%d')}.log") @logger = Logger.new(log_path) end