website/index.html in cutep-0.0.2 vs website/index.html in cutep-0.0.3
- old
+ new
@@ -31,58 +31,82 @@
<div id="main">
<h1>cutep</h1>
<div id="version" class="clickable" onclick='document.location = "http://rubyforge.org/projects/cutep"; return false'>
<p>Get Version</p>
- <a href="http://rubyforge.org/projects/cutep" class="numbers">0.0.2</a>
+ <a href="http://rubyforge.org/projects/cutep" class="numbers">0.0.3</a>
</div>
- <h1>→ ‘cutep’</h1>
+ <h1>→ or call it simply ‘qp’</h1>
<h2>What</h2>
+ <p>“Cute p” provide more human readable “p” function.</p>
+
+
+ <p>You can use a method ‘qp’ instead of ‘p’ and you’ll see the recent
+caller of the method.</p>
+
+
<h2>Installing</h2>
<pre syntax="ruby">sudo gem install cutep</pre>
- <h2>The basics</h2>
+ <h2>The Basic</h2>
- <h2>Demonstration of usage</h2>
+<pre syntax="ruby">
+require 'qp'
+qp 'foo'
+</pre>
+ <p>Simply, use ‘<tt>qp</tt>’ instead of ‘<tt>p</tt>’.</p>
- <h2>Forum</h2>
+ <h2>Demonstration of usage</h2>
- <p><a href="http://groups.google.com/group/cutep">http://groups.google.com/group/cutep</a></p>
+<pre syntax="ruby">
+require 'qp'
+qp 'foo'
- <p><span class="caps">TODO</span> – create Google Group – cutep</p>
+def a_method
+ qp 'in a_method'
+ qp 1, 2, 3
+end
+a_method
+</pre>
+<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>
- <h2>How to submit patches</h2>
+ <p>You see that the caller method and the filename of the method.</p>
- <p>Read the <a href="http://drnicwilliams.com/2007/06/01/8-steps-for-fixing-other-peoples-code/">8 steps for fixing other people’s code</a> and for section <a href="http://drnicwilliams.com/2007/06/01/8-steps-for-fixing-other-peoples-code/#8b-google-groups">8b: Submit patch to Google Groups</a>, use the Google Group above.</p>
+ <h2>Repositry</h2>
<p>The trunk repository is <code>svn://rubyforge.org/var/svn/cutep/trunk</code> for anonymous access.</p>
<h2>License</h2>
- <p>This code is free to use under the terms of the <span class="caps">MIT</span> license.</p>
+ <p>Ruby’s.</p>
<h2>Contact</h2>
- <p>Comments are welcome. Send an email to <a href="mailto:FIXME"><span class="caps">FIXME</span> full name</a> email.</p>
+ <p>Comments are welcome. Send an email to “Kouichirou Eto” <eto at rubyforge dot org>.</p>
<p class="coda">
- <a href="mailto:drnicwilliams@gmail.com">Dr Nic</a>, 13th June 2007<br>
+ 15th June 2007<br>
Theme extended from <a href="http://rb2js.rubyforge.org/">Paul Battley</a>
</p>
</div>
<!-- insert site tracking codes here, like Google Urchin -->