doc/index.html in cast-0.0.1 vs doc/index.html in cast-0.1.0
- old
+ new
@@ -156,11 +156,11 @@
<span class="code_comment">## gimme a tree</span>
ugly_c_code = open("toy.c"){|f| f.read}
tree = parser.parse(ugly_c_code)
<span class="code_comment">## what's the tree look like?</span>
-puts tree.to_debug
+p tree
</pre>
<p>
If there's a parse error, <tt>#parse</tt> raises a
<tt>ParseError</tt> (which has a nice error message in
@@ -386,11 +386,11 @@
<li>
<tt>#to_s</tt> -- return the code for the tree (a
<tt>String</tt>).
</li>
<li>
- <tt>#to_debug</tt> -- return a pretty string for inspection.
+ <tt>#inspect</tt> -- return a pretty string for inspection.
<b>Try it</b>.
</li>
<li>
<tt>#match?(str)</tt>, <tt>#=~(str)</tt> -- return true iff
<tt>str</tt> parses as a <tt>Node</tt> equal to this one.
@@ -1165,11 +1165,11 @@
</td>
</tr>
<tr class="node_desc_oddrow">
<td class="nd_field"><tt>args</tt></td>
<td class="nd_child">Y</td>
- <td class="nd_values"><tt>NodeList</tt> of <tt>Expression</tt></td>
+ <td class="nd_values"><tt>NodeList</tt> of <tt>Expression</tt>-or-<tt>Type</tt></td>
<td class="nd_default"></td>
</tr>
<tr class="node_desc_evenrow">
<td class="nd_class" rowspan="2"><tt>Dot</tt></td>
@@ -2446,17 +2446,14 @@
<li>
Should a <tt>Member</tt> be allowed in <tt>MemberInit#member</tt>?
It'd be the common case, but special cases make uniform treatment
more arduous. Is "uniform treatment" an issue?
</li>
- <li>
- Should <tt>to_debug</tt> have a better name? What?
- </li>
</ul>
<p>
- <a href="mailto:g_ogata@optushome.com.au">Vote now</a>.
+ <a href="mailto:george.ogata@gmail.com">Vote now</a>.
</p>
<a name="to_do"></a><h2>To Do</h2>
<ul>
<li>
@@ -2479,31 +2476,26 @@
<tt>Block#stmts</tt>).
</li>
<li>
Make it rdoc-able.
</li>
- <li>
- Make a starmonkey.
- </li>
</ul>
<p>
If any of these affect you greatly, <a
- href="mailto:g_ogata@optushome.com.au">kick me</a> to make it happen
+ href="mailto:george.ogata@gmail.com">kick me</a> to make it happen
faster.
</p>
<a name="to_do"></a><h2>Contact</h2>
I'm not really sure what people are going to try to use this for. If
there's some functionality you think would make a good addition, or
think I've made a mess of this poor puppy, give me a yell.
-<p>I read <a href="mailto:ruby-talk@ruby-lang.org">ruby-talk</a> (a.k.a. <a href="news:comp.lang.ruby">comp.lang.ruby</a>).</p>
-
<p>
- You can also spam me at <a
- href="mailto:g_ogata@optushome.com.au">g_ogata@optushome.com.au</a>.
+ You can spam me at <a
+ href="mailto:george.ogata@gmail.com">george.ogata@gmail.com</a>.
It'd help if you prefixed the subject with "[cast] " so I can easily
distinguish CAST spam from fake Rolex spam.
</p>
</td></tr></table> <!-- frame table -->
\ No newline at end of file