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
This fix resolves the issue with String#slice(index, offset) called with negative offset.
#slice should return `nil` when offset is negative but returned a String itself:
```ruby
"foobar".slice(0, -1) #=> "foobar"
```
0 commit comments