mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
[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
1 changed files with 0 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue