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

[Ruby] Safe accessor #4109

Merged
merged 1 commit into from
Dec 21, 2024

Conversation

michaelblyons
Copy link
Collaborator

@michaelblyons michaelblyons commented Dec 5, 2024

The safe navigation operator was added in Ruby 2.3.0. (See second bullet. They don't have direct links to each change.) More usage samples.

Fixes #3813

@michaelblyons michaelblyons marked this pull request as ready for review December 7, 2024 19:24
@jrappen
Copy link
Contributor

jrappen commented Dec 9, 2024

I don't know Ruby, but syntax and tests look fine.

@michaelblyons michaelblyons merged commit 5e29f3e into sublimehq:master Dec 21, 2024
2 checks passed
@michaelblyons michaelblyons deleted the ruby/safe-accessor branch December 21, 2024 18:06
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.

[Ruby] Null-safe accessor
4 participants