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

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