Brb Main class used to do basic distributed ruby, Simple but fast Use two distinct canal, one for the command reception, and the other one for send return value
returns the default logger instance
# File lib/brb/logger.rb, line 7 def default_logger Logger.new(STDOUT) end
returns the logger instance
# File lib/brb/logger.rb, line 17 def logger # use default logger if no custom logger is set @@logger = default_logger unless defined? @@logger # this overwrites the original method with a static definition eval %{ def logger @@logger end } @@logger end
alias to BrB.logger
# File lib/brb/logger.rb, line 32 def logger BrB.logger end
Generated with the Darkfish Rdoc Generator 2.