diff options
| author | Samuel Giddins <segiddins@segiddins.me> | 2023-12-20 17:55:50 -0800 |
|---|---|---|
| committer | git <svn-admin@ruby-lang.org> | 2024-01-15 14:04:14 +0000 |
| commit | e0312f90bbf5a6c0af5140ea94c67911515a147b (patch) | |
| tree | ae31965ba00b473b6617950471ce71fbe7feb01f /lib | |
| parent | 9c3299896e7ea0aa1d9cc0d4786d7be2908ca9be (diff) | |
[ruby/pp] Print beginless ranges properly
Instead of displaying the start of the range as nil
https://github.com/ruby/pp/commit/1df210d903
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/pp.rb | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -444,7 +444,7 @@ end if defined?(Data.define) class Range # :nodoc: def pretty_print(q) # :nodoc: - q.pp self.begin + q.pp self.begin if self.begin q.breakable '' q.text(self.exclude_end? ? '...' : '..') q.breakable '' |
