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

Unclear behaviour of RDoc::RI::Driver#initialize #825

Open
f6p opened this issue Jul 17, 2021 · 0 comments
Open

Unclear behaviour of RDoc::RI::Driver#initialize #825

f6p opened this issue Jul 17, 2021 · 0 comments

Comments

@f6p
Copy link

f6p commented Jul 17, 2021

Hello,

I think I found misleading comment or a bug.

Ri driver initialize method comment states that initial driver options come (partly) from result of process_args call. Thats not true because process_args is not called and instead passed options hash is merged with default_options (whitch is a method and also doesn't call process_args). Overall during driver initalization process_args doesn't seem to be called at all.

As a resuld RI env variable is not parsed (as the code that process it is in process_args) and its contents are ignored.

I'm not sure if it is desired behavior or just a orphaned comment.

Cheers
🍷

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