lib/prc.rb
# log_file module attribute
#
# by default, log_file is nil.
# The user can define a log_file name or path
# The path is created (if possible) as soon a
# log_file is set.
# The file name is created by the logging class.
#
# *args*
# - +log file+ : absolute or relative path to a log file.
#
log_file module attribute
by default, log_file is nil.
The user can define a log_file name or path
The path is created (if possible) as soon a
log_file is set.
The file name is created by the logging class.

args
+log file+ : absolute or relative path to a log file.
log_file module attribute by default log_file is nil . The user can define a log_file name or path The path is created ( if possible ) as soon a log_file is set . The file name is created by the logging class . args + log file + : absolute or relative path to a log file .
def log_file
    return @log_file unless @log_file.nil?
    self.log_file = File.join(data_path, app_name + '.log')
    @log_file
  end
def log_file return @log_file unless @log_file . nil? self . log_file = File . join ( data_path , app_name + '.log' ) @log_file end
log_file module attribute
by default, log_file is nil.
log_file module attribute by default log_file is nil .