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

Allow parsing process to be performed without passing a block #10

Merged
merged 4 commits into from
Apr 11, 2024

Conversation

alpaca-tc
Copy link
Owner

Add new method #new_session to analyze ruby code without block.

tracer = DiverDown::Trace::Tracer.new
session = tracer.new_session
session.start

do_something

session.stop
definition = session.definition

Other small changes:

  • module_set: requires Hash.

@alpaca-tc alpaca-tc merged commit e5045bb into main Apr 11, 2024
3 checks passed
@alpaca-tc alpaca-tc deleted the provide-tracer-for-no-block branch April 11, 2024 02:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant