def log(method_list)
      method_list = Array[method_list]
      method_list.each do |method|
        backup_name = "#{method}_bak".to_sym
        alias_method :backup_name, :method
        define_method(method) do |*args|
          Display.debug("##{method}: ")
          Display.debug(args.inspect)
        end
      end
    end
def log(method_list)
      method_list = Array[method_list]
      method_list.each do |method|
        backup_name = "#{method}_bak".to_sym
        alias_method :backup_name, :method
        define_method(method) do |*args|
          Display.debug("##{method}: ")
          Display.debug(args.inspect)
        end
      end
    end
TODO: extract this idea to a gem
       - automatic logging of method calls