[rubygems/rubygems] Eval defaults with frozen_string_literal: true
https://github.com/rubygems/rubygems/commit/d498ae3d62
This commit is contained in:
parent
9bbca93aa8
commit
91865230cd
Notes:
git
2020-09-28 14:54:54 +09:00
|
@ -1957,6 +1957,8 @@ class Gem::Specification < Gem::BasicSpecification
|
|||
end
|
||||
|
||||
eval <<-RUBY, binding, __FILE__, __LINE__ + 1
|
||||
# frozen_string_literal: true
|
||||
|
||||
def set_nil_attributes_to_nil
|
||||
#{@@nil_attributes.map {|key| "@#{key} = nil" }.join "; "}
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue