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

Environment loader api #370

Merged
merged 2 commits into from
Aug 20, 2020
Merged

Environment loader api #370

merged 2 commits into from
Aug 20, 2020

Conversation

soutaro
Copy link
Member

@soutaro soutaro commented Aug 20, 2020

This PR is to add some missing APIs to EnvironmentLoader to help writing tools which incrementally load .rbs files.

  • #each_decl loads .rbs files and yields the declarations, buffer, Pathname to the .rbs, and library path where the .rbs is loaded from.
  • #load(env:) returns an array of declarations loaded by the call.

@soutaro soutaro merged commit c44769c into master Aug 20, 2020
@soutaro soutaro deleted the environment-loader-api branch August 20, 2020 04:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant