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

ruby-reference-manual:65

From: "Hiroyuki Iwatsuki" <don@n...>
Date: Thu, 14 Sep 2006 23:34:41 +0900
Subject: [ruby-reference-manual:65] bc-list.rbがModule Functionsで例外

岩月と申します。

Module Functionsを含むファイルをbc-list.rbに指定すると
例外が発生しました。

% ruby ../../../../bitclust/bin/bc-list.rb open3.rd.off
/usr/home/don/src/rubydoc/bitclust/lib/bitclust/database.rb:245:in
`define_private_instance_method': undefined method `private' for
#<imethod Open3#popen3> (NoMethodError)
        from /usr/home/don/src/rubydoc/bitclust/lib/bitclust/rrdparser.rb:173:in
`__send__'
        from /usr/home/don/src/rubydoc/bitclust/lib/bitclust/rrdparser.rb:173:in
`add_method'
        from /usr/home/don/src/rubydoc/bitclust/lib/bitclust/rrdparser.rb:172:in
`each'
        from /usr/home/don/src/rubydoc/bitclust/lib/bitclust/rrdparser.rb:172:in
`add_method'
        from /usr/home/don/src/rubydoc/bitclust/lib/bitclust/rrdparser.rb:166:in
`read_entries'
        from /usr/home/don/src/rubydoc/bitclust/lib/bitclust/rrdparser.rb:165:in
`each'
        from /usr/home/don/src/rubydoc/bitclust/lib/bitclust/rrdparser.rb:165:in
`read_entries'
        from /usr/home/don/src/rubydoc/bitclust/lib/bitclust/rrdparser.rb:154:in
`read_class_body'
         ... 10 levels...
        from ../../../../bitclust/bin/bc-list.rb:30:in `main'
        from ../../../../bitclust/bin/bc-list.rb:28:in `each'
        from ../../../../bitclust/bin/bc-list.rb:28:in `main'
        from ../../../../bitclust/bin/bc-list.rb:34

以下のような内容のファイルで再現できます。

= class Open3
== Module Functions
--- popen3(cmd)


# というわけで、添付ライブラリのほうから手をつけてます。

-- 
IWATSUKI Hiroyuki <URL:mailto:don@n...>

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

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

->      65 2006-09-14 16:34 [don@n...            ] bc-list.rbがModule Functionsで例外      
        68 2006-09-14 19:23 ┗[aamine@l...         ]                                       
        70 2006-09-14 20:18  ┗[don@n...            ]