[rubygems/rubygems] Use modern hashes consistently

bb66253f2c
This commit is contained in:
David Rodríguez 2023-12-07 22:10:33 +01:00 committed by git
parent 9d696aa204
commit 2755cb1b2f
262 changed files with 3027 additions and 3113 deletions

View file

@ -5,7 +5,7 @@ require_relative "../command"
class Gem::Commands::WhichCommand < Gem::Command
def initialize
super "which", "Find the location of a library file you can require",
:search_gems_first => false, :show_all => false
search_gems_first: false, show_all: false
add_option "-a", "--[no-]all", "show all matching files" do |show_all, options|
options[:show_all] = show_all