website/index.txt in cutep-0.0.2 vs website/index.txt in cutep-0.0.3
- old
+ new
@@ -1,38 +1,57 @@
h1. cutep
-h1. → 'cutep'
+h1. → or call it simply 'qp'
-
h2. What
+"Cute p" provide more human readable "p" function.
+You can use a method 'qp' instead of 'p' and you'll see the recent
+caller of the method.
+
h2. Installing
<pre syntax="ruby">sudo gem install cutep</pre>
-h2. The basics
+h2. The Basic
+<pre syntax="ruby">
+require 'qp'
+qp 'foo'
+</pre>
+Simply, use '<tt>qp</tt>' instead of '<tt>p</tt>'.
+
h2. Demonstration of usage
+<pre syntax="ruby">
+require 'qp'
+qp 'foo'
+def a_method
+ qp 'in a_method'
+ qp 1, 2, 3
+end
+a_method
+</pre>
-h2. Forum
+<pre>
+% ruby examples/sample.rb
+sample.rb:2:: ["foo"]
+sample.rb:5:a_method ["in a_method"]
+sample.rb:6:a_method [1, 2, 3]
+</pre>
-"http://groups.google.com/group/cutep":http://groups.google.com/group/cutep
+You see that the caller method and the filename of the method.
-TODO - create Google Group - cutep
+h2. Repositry
-h2. How to submit patches
-
-Read the "8 steps for fixing other people's code":http://drnicwilliams.com/2007/06/01/8-steps-for-fixing-other-peoples-code/ and for section "8b: Submit patch to Google Groups":http://drnicwilliams.com/2007/06/01/8-steps-for-fixing-other-peoples-code/#8b-google-groups, use the Google Group above.
-
The trunk repository is <code>svn://rubyforge.org/var/svn/cutep/trunk</code> for anonymous access.
h2. License
-This code is free to use under the terms of the MIT license.
+Ruby's.
h2. Contact
-Comments are welcome. Send an email to "FIXME full name":mailto:FIXME email.
+Comments are welcome. Send an email to "Kouichirou Eto" <eto at rubyforge dot org>.