https://redmine.ruby-lang.org/
https://redmine.ruby-lang.org/favicon.ico?1711330511
2011-05-21T03:00:28Z
Ruby Issue Tracking System
Ruby master - Bug #4747: documentation updates: Curses and friends are 76% documented
https://redmine.ruby-lang.org/issues/4747?journal_id=17114
2011-05-21T03:00:28Z
drbrain (Eric Hodel)
drbrain@segment7.net
<ul><li><strong>Status</strong> changed from <i>Open</i> to <i>Closed</i></li><li><strong>% Done</strong> changed from <i>0</i> to <i>100</i></li></ul><p>This issue was solved with changeset r31654.<br>
Vincent, thank you for reporting this issue.<br>
Your contribution to Ruby is greatly appreciated.<br>
May Ruby be with you.</p>
<hr>
<ul>
<li>ext/.document: Add curses to documented extensions.
<ul>
<li>ext/curses/curses.c: Improve documentation. Patch by Vincent Batts.<br>
[Ruby 1.9 - Bug <a class="issue tracker-1 status-5 priority-4 priority-default closed" title="Bug: documentation updates: Curses and friends are 76% documented (Closed)" href="https://redmine.ruby-lang.org/issues/4747">#4747</a>]</li>
</ul>
</li>
</ul>
Ruby master - Bug #4747: documentation updates: Curses and friends are 76% documented
https://redmine.ruby-lang.org/issues/4747?journal_id=17188
2011-05-24T21:42:12Z
mame (Yusuke Endoh)
mame@ruby-lang.org
<ul><li><strong>Status</strong> changed from <i>Closed</i> to <i>Open</i></li></ul><p>Hello,</p>
<p>I think</p>
<ul>
<li>
<ul>
<li>call-seq: TABSIZE=(value)</li>
</ul>
</li>
</ul>
<p>should be</p>
<ul>
<li>
<ul>
<li>call-seq: Curses.TABSIZE=(value)</li>
</ul>
</li>
</ul>
<p>. The same goes for ESCDELAY=.<br>
Personally, I like to write a receiver in all call-seq, like</p>
<ul>
<li>
<ul>
<li>call-seq: box(vert, hor)</li>
</ul>
</li>
</ul>
<p>to</p>
<ul>
<li>
<ul>
<li>call-seq: win.box(vert, hor)</li>
</ul>
</li>
</ul>
<p>.</p>
<p>In addition,</p>
<p>+/*</p>
<ul>
<li>
<ul>
<li>Document-method: Curses::MouseEvent.bstate</li>
</ul>
</li>
<li>
<ul>
<li>
</ul>
</li>
<li>
<ul>
<li>Returns the current mouse's B state.</li>
</ul>
</li>
<li>
<ul>
<li>
</ul>
</li>
<li>
<ul>
<li>???</li>
</ul>
</li>
<li>
<p>*/</p>
</li>
<li>
<p>/* Document-const: MIN</p>
</li>
<li>
<pre><code>*
</code></pre>
</li>
<li>
<pre><code>* ???
</code></pre>
</li>
<li>
<pre><code>*/
</code></pre>
</li>
<li>
<p>/* Document-const: MAX</p>
</li>
<li>
<pre><code>*
</code></pre>
</li>
<li>
<pre><code>* ???
</code></pre>
</li>
<li>
<pre><code>*/
</code></pre>
</li>
</ul>
<p>Please sweep :-)</p>
<p>--<br>
Yusuke Endoh <a href="mailto:mame@tsg.ne.jp" class="email">mame@tsg.ne.jp</a></p>
Ruby master - Bug #4747: documentation updates: Curses and friends are 76% documented
https://redmine.ruby-lang.org/issues/4747?journal_id=17208
2011-05-25T09:57:08Z
drbrain (Eric Hodel)
drbrain@segment7.net
<ul><li><strong>Status</strong> changed from <i>Open</i> to <i>Closed</i></li></ul><p>This issue was solved with changeset r31730.<br>
Vincent, thank you for reporting this issue.<br>
Your contribution to Ruby is greatly appreciated.<br>
May Ruby be with you.</p>
<hr>
<ul>
<li>ext/curses/curses.c: Add missing documentation for button state, MIN<br>
and MAX comments. Add Curses. to TABSIZE= and ESCDELAY= methods.<br>
[Ruby 1.9 - Bug <a class="issue tracker-1 status-5 priority-4 priority-default closed" title="Bug: documentation updates: Curses and friends are 76% documented (Closed)" href="https://redmine.ruby-lang.org/issues/4747">#4747</a>]</li>
</ul>