-
- I tried it on a couple test files and even though the results
are sparse I was pretty impressed. However, the following dies
- I tried it on a couple test files and even though the results
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
···
–