Class: Log

Inherits:
Object
  • Object
show all
Defined in:
lib/empezar/log.rb

Class Method Summary collapse

Class Method Details

.method_missing(*args) ⇒ Object



18
19
20
21
22
23
24
25
# File 'lib/empezar/log.rb', line 18

def method_missing *args
  if args.first == :warning
    args.shift
    Empezar::Log.instance.warn *args
  else
    Empezar::Log.instance.send *args
  end
end