[rubygems/rubygems] Remove unnecessary guard clause
Since 1ccf0912a161d20e0c4a7b139fd76e8739a411ba, this method no longer uses `Kernel.gem`, so this guard clause is now unnecessary. https://github.com/rubygems/rubygems/commit/8a19e7401c
This commit is contained in:
parent
e6be06e4ef
commit
e0bfc77824
Notes:
git
2020-07-31 21:08:08 +09:00
@ -617,7 +617,6 @@ An Array (#{env.inspect}) was passed in from #{caller[3]}
|
||||
|
||||
def self.load_yaml
|
||||
return if @yaml_loaded
|
||||
return unless defined?(gem)
|
||||
|
||||
begin
|
||||
# Try requiring the gem version *or* stdlib version of psych.
|
||||
|
Loading…
x
Reference in New Issue
Block a user