Skip to content

@peter /gist:663900
Created

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
debug_log example
require 'rubygems'
require 'debug_log'
my_list = [:a, :b, :c]
my_number = 5
debug.log("after variable initialization", "my_number", "my_list")
# => DebugLog | after variable initialization | my_number="5" (Fixnum), my_list="[:a, :b, :c]" (Array) | /Users/peter/tmp/debug-example.rb:6:in `foo'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.