Class: Ara::L
Overview
:nodoc:
Instance Method Summary collapse
-
#initialize ⇒ L
constructor
A new instance of L.
- #logger ⇒ Object
- #logger=(l) ⇒ Object
Constructor Details
#initialize ⇒ L
Returns a new instance of L.
24 25 26 27 |
# File 'lib/ara/logger.rb', line 24 def initialize @mutex = Mutex.new @logger = Logger.new STDERR end |
Instance Method Details
#logger ⇒ Object
29 30 31 |
# File 'lib/ara/logger.rb', line 29 def logger @mutex.synchronize { @logger } end |
#logger=(l) ⇒ Object
33 34 35 |
# File 'lib/ara/logger.rb', line 33 def logger=(l) @mutex.synchronize { @logger=l } end |