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

Cursor Location Methods #78

Merged
merged 2 commits into from
Apr 7, 2024
Merged

Cursor Location Methods #78

merged 2 commits into from
Apr 7, 2024

Conversation

cfis
Copy link
Collaborator

@cfis cfis commented Apr 6, 2024

Instead of having methods on the base class SourceLocation that create subclasses (which at least I found surprising), just add the appropriate getter methods on cursor.

Also added #as_text and #to_s for easier debugging.

…e subclasses (which at least I found surprising), just add the appropriate getter methods on cursor.
@ioquatix ioquatix merged commit 18c90ab into ioquatix:main Apr 7, 2024
4 checks passed
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.

2 participants