diff options
author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2020-04-16 18:56:20 +0200 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2020-05-08 07:38:50 +0900 |
commit | 2205ae8af5928c97a28f281f029bb3be290bf010 (patch) | |
tree | d42b32eeb3c598a8b1fc04e8dec483a9f331dd66 /lib/rubygems | |
parent | 31663e9e64b538087e90466d98e61f1fba6ca8a0 (diff) | |
download | ruby-2205ae8af5928c97a28f281f029bb3be290bf010.tar.gz |
Normalize heredoc delimiters
Diffstat (limited to 'lib/rubygems')
-rw-r--r-- | lib/rubygems/specification.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/rubygems/specification.rb b/lib/rubygems/specification.rb index a153286e79..ad988a5a1e 100644 --- a/lib/rubygems/specification.rb +++ b/lib/rubygems/specification.rb @@ -1961,7 +1961,7 @@ class Gem::Specification < Gem::BasicSpecification yaml_initialize coder.tag, coder.map end - eval <<-RB, binding, __FILE__, __LINE__ + 1 + eval <<-RUBY, binding, __FILE__, __LINE__ + 1 def set_nil_attributes_to_nil #{@@nil_attributes.map {|key| "@#{key} = nil" }.join "; "} end @@ -1971,7 +1971,7 @@ class Gem::Specification < Gem::BasicSpecification #{@@non_nil_attributes.map {|key| "@#{key} = #{INITIALIZE_CODE_FOR_DEFAULTS[key]}" }.join ";"} end private :set_not_nil_attributes_to_default_values - RB + RUBY ## # Specification constructor. Assigns the default values to the attributes |