-----BEGIN PGP SIGNED MESSAGE-----
- - I tried it on a couple test files and even though the results
are sparse I was pretty impressed. However, the following dies
cd ruby/lib
rdoc
with the error
ccmc/var/local/lib/ruby/site_ruby/1.7/rdoc/parsers/parse_rb.rb:1638:in
`parse_class': undefined method `name' for
#<RubyToken::TkSTRING:0x403ea21c> (NoMethodError)
from
/var/local/lib/ruby/site_ruby/1.7/rdoc/parsers/parse_rb.rb:1518:in `parse_statements'
from
/var/local/lib/ruby/site_ruby/1.7/rdoc/parsers/parse_rb.rb:1349:in `scan'
from
/var/local/lib/ruby/site_ruby/1.7/rdoc/parsers/parse_rb.rb:1348:in `catch'
from
/var/local/lib/ruby/site_ruby/1.7/rdoc/parsers/parse_rb.rb:1348:in `scan'
from
/var/local/lib/ruby/site_ruby/1.7/rdoc/rdoc.rb:157:in `parse_files'
from
/var/local/lib/ruby/site_ruby/1.7/rdoc/rdoc.rb:151:in `each'
from
/var/local/lib/ruby/site_ruby/1.7/rdoc/rdoc.rb:151:in `parse_files'
from
/var/local/lib/ruby/site_ruby/1.7/rdoc/rdoc.rb:184:in `document'
from
/u/sf/bbense/bin.linux/rdoc:6
when it gets to singleton.rb.
The question I have is should this work? I'm using the latest
rdoc from the cvs tree with version 1.7.2 of ruby. Even just
running rdoc on singleton.rb by itself crashes with the same
error.
- - Booker C. Bense
-----BEGIN PGP SIGNATURE-----
Version: 2.6.2
iQCVAwUBPTNn8QD83u1ILnWNAQFA3gP/YifMGbPiz09n5g9zn5H0Thi4Q3BGRAT7
cJUN7a9MKIgKwEXAxsdavLLE4neHrNzQDk3hfiy3DDrWKdVphxBKBD17Gb/j2UQR
d6I4gelUUealybt5ycjc2R4sw6EAVqz5WrW4tILgZZcqPL84+njtE0CLQmZTIniD
/TiMACIwugo=
=Mbpv
-----END PGP SIGNATURE-----
--