diff options
| author | Yusuke Endoh <mame@ruby-lang.org> | 2019-05-23 00:45:30 +0900 |
|---|---|---|
| committer | Yusuke Endoh <mame@ruby-lang.org> | 2019-05-23 00:48:32 +0900 |
| commit | 9d39eb6b40966deeeaa23c28f0be640c56545644 (patch) | |
| tree | 4aebc6cbc8dc22a196656c1cffb840c6f15c032d /spec/ruby | |
| parent | d9b338a53f520b2dbb05555f18b8de8072300f40 (diff) | |
range.c (inspect_range): omit beginless "nil"
except the special case `(nil..nil)`.
```
(1..).inspect #=> "1.."
(..5).inspect #=> "..5"
(nil..nil).inspect #=> "nil..nil"
```
[Bug #15745]
Diffstat (limited to 'spec/ruby')
0 files changed, 0 insertions, 0 deletions
