Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RDoc::RDoc #parse_file does not work #1268

Open
mullermp opened this issue Jan 2, 2025 · 0 comments
Open

RDoc::RDoc #parse_file does not work #1268

mullermp opened this issue Jan 2, 2025 · 0 comments

Comments

@mullermp
Copy link

mullermp commented Jan 2, 2025

Parse files works correctly:

rdoc = RDoc::RDoc.new
rdoc.options = RDoc::Options.load_options
rdoc.store = RDoc::Store.new

rdoc.parse_files(['/path/to/file'])

However when calling parse file instead,

rdoc.parse_file('path/to/file')

I see a failure for stats being nil.

undefined method `add_file' for nil (NoMethodError)

    @stats.add_file filename
          ^^^^^^^^^
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant