Class: Zanox::Logger

Inherits:
Object
  • Object
show all
Defined in:
lib/zanox/logger.rb

Instance Method Summary collapse

Dynamic Method Handling

This class handles dynamic methods through the method_missing method

#method_missing(m, *args, &block) ⇒ Object



27
28
29
# File 'lib/zanox/logger.rb', line 27

def method_missing(m, *args, &block)
  puts "[ZANOX] #{args}" if Zanox::API::debug?
end