website/index.html in cutep-0.0.3 vs website/index.html in cutep-1.0.0

- old
+ new

@@ -3,11 +3,11 @@ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <link rel="stylesheet" href="stylesheets/screen.css" type="text/css" media="screen" /> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title> - cutep + Cute p, call it simply &#8216;qp&#8217; </title> <script src="javascripts/rounded_corners_lite.inc.js" type="text/javascript"></script> <style> </style> @@ -28,66 +28,68 @@ </script> </head> <body> <div id="main"> - <h1>cutep</h1> + <h1>Cute p, call it simply &#8216;qp&#8217;</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.3</a> + <a href="http://rubyforge.org/projects/cutep" class="numbers">1.0.0</a> </div> - <h1>&#x2192; or call it simply &#8216;qp&#8217;</h1> + <h2>What</h2> - <h2>What</h2> + <p>&#8220;qp&#8221; (stands for &#8220;Cute p&#8221;) provide more useful &#8220;p&#8221; function.</p> - <p>&#8220;Cute p&#8221; provide more human readable &#8220;p&#8221; function.</p> + <p>You can use method &#8216;qp&#8217; instead of &#8216;p&#8217;, +then you can see the caller of the method.</p> - <p>You can use a method &#8216;qp&#8217; instead of &#8216;p&#8217; and you&#8217;ll see the recent -caller of the method.</p> - - <h2>Installing</h2> <pre syntax="ruby">sudo gem install cutep</pre> <h2>The Basic</h2> <pre syntax="ruby"> +# sample1.rb require 'qp' qp 'foo' </pre> +<pre> +% ruby sample1.rb +sample1.rb:3:: ["foo"] +</pre> + <p>Simply, use &#8216;<tt>qp</tt>&#8217; instead of &#8216;<tt>p</tt>&#8217;.</p> - <h2>Demonstration of usage</h2> - - <pre syntax="ruby"> +# sample2.rb require 'qp' -qp 'foo' +require 'sample1' -def a_method - qp 'in a_method' +def foo + qp 'bar' qp 1, 2, 3 end -a_method + +foo </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] +% ruby sample2.rb +sample1.rb:3:: ["foo"] +sample2.rb:6:foo ["bar"] +sample2.rb:7:foo [1, 2, 3] </pre> - <p>You see that the caller method and the filename of the method.</p> + <p>You can see that the caller of the method and the filename.</p> <h2>Repositry</h2> @@ -101,12 +103,12 @@ <h2>Contact</h2> - <p>Comments are welcome. Send an email to &#8220;Kouichirou Eto&#8221; <eto at rubyforge dot org>.</p> + <p>Comments are welcome. Send an email to &#8220;Kouichirou Eto&#8221; <eto <em>at</em> rubyforge <em>dot</em> org&gt;.</p> <p class="coda"> - 15th June 2007<br> + 29th 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 -->