[前][次][番号順一覧][スレッド一覧]

ruby-reference-manual:67

From: "Ken Date" <itacchi@g...>
Date: Fri, 15 Sep 2006 00:30:10 +0900
Subject: [ruby-reference-manual:67] Re: 作業マニュアル #1 (フォーマット変換)

こんばんは。伊達です。

レベル 2 ヘッダ の Private Class Methods を使うと bc-list.rb でエラーになります。

$ more Test.rd
= class Test < Object
== private Class Methods
--- test
test

$ ./bitclust/bin/bc-list.rb Test.rd
/home/date/work/ruby-reference/bitclust/lib/bitclust/database.rb:231:in
`define_private_singleton_method': undefined method `private' for
#<smethod Test.test> (NoMethodError)
        from /home/date/work/ruby-reference/bitclust/lib/bitclust/rrdparser.rb:173:in
`add_method'
        from /home/date/work/ruby-reference/bitclust/lib/bitclust/rrdparser.rb:172:in
`add_method'
        from /home/date/work/ruby-reference/bitclust/lib/bitclust/rrdparser.rb:166:in
`read_entries'
        from /home/date/work/ruby-reference/bitclust/lib/bitclust/rrdparser.rb:165:in
`read_entries'
        from /home/date/work/ruby-reference/bitclust/lib/bitclust/rrdparser.rb:154:in
`read_class_body'
        from /home/date/work/ruby-reference/bitclust/lib/bitclust/lineinput.rb:103:in
`while_match'
        from /home/date/work/ruby-reference/bitclust/lib/bitclust/rrdparser.rb:137:in
`read_class_body'
        from /home/date/work/ruby-reference/bitclust/lib/bitclust/rrdparser.rb:102:in
`read_classes'
        from /home/date/work/ruby-reference/bitclust/lib/bitclust/lineinput.rb:103:in
`while_match'
        from /home/date/work/ruby-reference/bitclust/lib/bitclust/rrdparser.rb:96:in
`read_classes'
        from /home/date/work/ruby-reference/bitclust/lib/bitclust/rrdparser.rb:88:in
`parse_0'
        from /home/date/work/ruby-reference/bitclust/lib/bitclust/rrdparser.rb:76:in
`parse'
        from /home/date/work/ruby-reference/bitclust/lib/bitclust/rrdparser.rb:70:in
`parse_file'
        from /home/date/work/ruby-reference/bitclust/lib/bitclust/rrdparser.rb:69:in
`parse_file'
        from ./bitclust/bin/bc-list.rb:30:in `main'
        from ./bitclust/bin/bc-list.rb:28:in `main'
        from ./bitclust/bin/bc-list.rb:34

--
ML: ruby-reference-manual@m...
使い方: http://QuickML.com/

[前][次][番号順一覧][スレッド一覧]

        53 2006-09-13 03:50 [aamine@l...         ] 作業マニュアル #1 (フォーマット変換)    
        54 2006-09-13 17:13 ┣[kazuhiko@f...       ]                                       
        56 2006-09-13 17:35 ┃┗[aamine@l...         ]                                     
        55 2006-09-13 17:31 ┣[ko1@a...            ]                                       
        57 2006-09-13 17:59 ┃┗[aamine@l...         ]                                     
        73 2006-09-15 08:21 ┃ ┗[ko1@a...            ]                                   
        77 2006-09-16 01:01 ┃  ┗[aamine@l...         ]                                 
        58 2006-09-13 22:50 ┣[aamine@l...         ]                                       
        59 2006-09-13 23:19 ┣[itacchi@g...        ]                                       
        60 2006-09-13 23:56 ┃┗[aamine@l...         ]                                     
        61 2006-09-14 00:53 ┃ ┗[itacchi@g...        ]                                   
        62 2006-09-14 01:02 ┃  ┗[aamine@l...         ]                                 
        63 2006-09-14 17:36 ┣[sheepman@s...       ] ネストしたクラスと定数へのリンクの記法
        64 2006-09-14 18:21 ┃┗[aamine@l...         ]                                     
        66 2006-09-14 23:53 ┣[zn@m...             ]                                       
        69 2006-09-15 02:25 ┃┗[aamine@l...         ]                                     
        74 2006-09-15 21:35 ┃ ┗[zn@m...             ]                                   
        76 2006-09-16 00:59 ┃  ┗[aamine@l...         ]                                 
->      67 2006-09-15 00:30 ┣[itacchi@g...        ]                                       
        78 2006-09-16 11:11 ┣[sheepman@s...       ] レベル 2 ブロック付きのドキュメント   
        79 2006-09-16 13:32 ┃┗[aamine@l...         ]                                     
        81 2006-09-16 17:06 ┃ ┗[sheepman@s...       ]                                   
        82 2006-09-16 23:25 ┃  ┗[aamine@l...         ]                                 
        80 2006-09-16 17:00 ┣[sheepman@s...       ] メソッドで使う定数の場所              
        83 2006-09-16 23:10 ┃┗[aamine@l...         ]                                     
        89 2006-09-17 20:48 ┗[sheepman@s...       ] レベル 2 ヘッダ                       
        90 2006-09-17 21:19  ┗[aamine@l...         ]