Feature #170 [ruby-reference-manual:946]
演算子のsignatureがわかりにくい
| Status : | Closed | Start : | 06/16/2008 | |
| Priority : | Normal | Due date : | ||
| Assigned to : | Minero Aoki | % Done : | 0% |
|
| Category : | bitclust | |||
| Target version : | - | |||
| reporter : | yhara |
ruby_version : | ||
Description
#この前のRuby勉強会@松江で新リファレンスに寄せられた様々な方からの意見を、チケットに反映したいと思います。 http://matsuesns.jp/bbs/bbs_list.php?root_key=1773&bbs_id=80&res=1213410319 ---- 2.*(3)とか普通書かないので、 > *(other) -> Fixnum | Bignum | Float ではなく > self * other -> Fixnum | Bignum | Float のように書いた方がわかりやすい。 ---- htmlを生成するときにこのような変換をすればいいのかな。
Associated revisions
- lib/bitclust/methodsignature.rb: new class MethodSignature, which represents RRD method signature line ("--- m(param) {...} -> type").
- lib/bitclust/screen.rb (foreach_method_chunk): yields a MethodSignature to the template.
- lib/bitclust/rdcompiler.rb (method_signature): show method signature in user-friendly form ("x + y" rather than "+(y)"). (refs
#170) - template/class: ditto.
- lib/bitclust/rdcompiler.rb (method_signature): makes the whole signature a hyperlink. (refs #188)
- template/class: ditto.
- template/search: ditto.
- tools/check-signature.rb: a new tool to check method signature format.