RubyFlow The Ruby and Rails community linklog

CallLogger: a debugging tool that lets you log method usage.

https://github.com/mrzasa/call_logger

class Calculator
  include CallLogger

  log def times(a, b)
    a*b
  end
end

Calculator.new.times(3,4)
# Calculator#times(3, 4)
# Calculator#times => 6
# => 6

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in