summaryrefslogtreecommitdiff
path: root/include/ruby/internal
diff options
context:
space:
mode:
authorUfuk Kayserilioglu <ufuk.kayserilioglu@shopify.com>2024-03-06 14:34:04 -0500
committergit <svn-admin@ruby-lang.org>2024-03-06 21:37:52 +0000
commit8dfe0c7c28fcaff1d52ab7f2751188f2e89b2347 (patch)
tree5f28a98a0e9351d1ce7a3200859118d869375d31 /include/ruby/internal
parentddc81ee3f996308482bc566c3048c5965f608ad0 (diff)
[ruby/prism] Fix some type-checking errors by using different method calls
For example, use `.fetch` or `.dig` instead of `[]`, and use `===` instead of `is_a?` for checking types of objects. https://github.com/ruby/prism/commit/548b54915f
Diffstat (limited to 'include/ruby/internal')
0 files changed, 0 insertions, 0 deletions