File: log_buddy.rb

LogBuddy is a developer tool for easy logging while testing, debugging, and inspecting.

Log shortcut method to give you easy, concise output of variables with their names and values.

Examples:

    a = "foo"
    @a = "my var"
    def bark
     "woof!"
    end

    d { a }      # logs "a = 'foo'"
    d { @a }     # logs "@a = 'my var'"
    d { bark }   # logs "bark = woof!"