diff options
author | Durable Programming Team <[email protected]> | 2024-09-02 15:16:31 -0400 |
---|---|---|
committer | git <[email protected]> | 2024-09-03 17:40:12 +0000 |
commit | 675529b9c662c0e69a71de12d7a22c68016186f5 (patch) | |
tree | c44d28d0dfe98a37c19e5186925a8db78cd869cd /lib/rubygems/source/installed.rb | |
parent | 767d0a171668fbfcc5bbd9c060bb59d192717ce3 (diff) |
[rubygems/rubygems] standardize pretty-print output for Gem::Source and subclasses
https://github.com/rubygems/rubygems/commit/6d5fbf82f1
Diffstat (limited to 'lib/rubygems/source/installed.rb')
-rw-r--r-- | lib/rubygems/source/installed.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/rubygems/source/installed.rb b/lib/rubygems/source/installed.rb index cbe12a0516..f5c96fee51 100644 --- a/lib/rubygems/source/installed.rb +++ b/lib/rubygems/source/installed.rb @@ -32,6 +32,8 @@ class Gem::Source::Installed < Gem::Source end def pretty_print(q) # :nodoc: - q.text "[Installed]" + q.object_group(self) do + q.text "[Installed]" + end end end |