Normalize heredoc delimiters
This commit is contained in:
parent
31663e9e64
commit
2205ae8af5
Notes:
git
2020-05-08 07:39:22 +09:00
@ -1961,7 +1961,7 @@ class Gem::Specification < Gem::BasicSpecification
|
|||||||
yaml_initialize coder.tag, coder.map
|
yaml_initialize coder.tag, coder.map
|
||||||
end
|
end
|
||||||
|
|
||||||
eval <<-RB, binding, __FILE__, __LINE__ + 1
|
eval <<-RUBY, binding, __FILE__, __LINE__ + 1
|
||||||
def set_nil_attributes_to_nil
|
def set_nil_attributes_to_nil
|
||||||
#{@@nil_attributes.map {|key| "@#{key} = nil" }.join "; "}
|
#{@@nil_attributes.map {|key| "@#{key} = nil" }.join "; "}
|
||||||
end
|
end
|
||||||
@ -1971,7 +1971,7 @@ class Gem::Specification < Gem::BasicSpecification
|
|||||||
#{@@non_nil_attributes.map {|key| "@#{key} = #{INITIALIZE_CODE_FOR_DEFAULTS[key]}" }.join ";"}
|
#{@@non_nil_attributes.map {|key| "@#{key} = #{INITIALIZE_CODE_FOR_DEFAULTS[key]}" }.join ";"}
|
||||||
end
|
end
|
||||||
private :set_not_nil_attributes_to_default_values
|
private :set_not_nil_attributes_to_default_values
|
||||||
RB
|
RUBY
|
||||||
|
|
||||||
##
|
##
|
||||||
# Specification constructor. Assigns the default values to the attributes
|
# Specification constructor. Assigns the default values to the attributes
|
||||||
|
Loading…
x
Reference in New Issue
Block a user