h1. Cute p, call it simply 'qp' h2. What "qp" (stands for "Cute p") provide more useful "p" function. You can use method 'qp' instead of 'p', then you can see the caller of the method. h2. Installing
sudo gem install cuteph2. The Basic
# sample1.rb require 'qp' qp 'foo'
% ruby sample1.rb sample1.rb:3:: ["foo"]Simply, use 'qp' instead of 'p'.
# sample2.rb require 'qp' require 'sample1' def foo qp 'bar' qp 1, 2, 3 end foo
% ruby sample2.rb sample1.rb:3:: ["foo"] sample2.rb:6:foo ["bar"] sample2.rb:7:foo [1, 2, 3]You can see that the caller of the method and the filename. h2. Repositry The trunk repository is
svn://rubyforge.org/var/svn/cutep/trunk
for anonymous access.
h2. License
Ruby's.
h2. Contact
Comments are welcome. Send an email to "Kouichirou Eto"