You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Remove redundant safe navigation operator (`&.`) in
`result.to_s.strip.present?` check, as `to_s` handles `nil` gracefully
by converting it to an empty string.
This makes the code cleaner and more idiomatic without altering
behavior.
Ref: https://ruby-doc.org/core-3.1.0/Object.html#method-i-to_s
0 commit comments