Module: Ara

Defined in:
lib/ara/logger.rb,
lib/ara/remote.rb

Defined Under Namespace

Modules: Remote Classes: L

Class Method Summary collapse

Class Method Details

.loggerObject



5
6
7
# File 'lib/ara/logger.rb', line 5

def self.logger
   return L.instance.logger
end

.logger=(l) ⇒ Object



9
10
11
# File 'lib/ara/logger.rb', line 9

def self.logger=(l)
   L.instance.logger=l
end

.method_missing(method_sym, *arguments, &block) ⇒ Object



13
14
15
16
17
18
19
# File 'lib/ara/logger.rb', line 13

def self.method_missing(method_sym, *arguments, &block)
   if self.logger.respond_to?(method_sym)
      self.logger.send(method_sym, *arguments)
   else
      raise NoMethodError, "undefined method `#{method_sym.to_s}' for Ara:Module"
   end
end