change merge to merge!
This commit is contained in:
parent
8db99d3be8
commit
bd674fd4e5
@ -315,7 +315,7 @@ def initialize(name, config)
|
||||
@config = {
|
||||
:terminator => "false",
|
||||
:scope => [ :kind ]
|
||||
}.merge(config)
|
||||
}.merge!(config)
|
||||
end
|
||||
|
||||
def compile
|
||||
|
@ -78,7 +78,7 @@ def self.new_from_hash_copying_default(hash)
|
||||
end
|
||||
|
||||
def self.[](*args)
|
||||
new.merge(Hash[*args])
|
||||
new.merge!(Hash[*args])
|
||||
end
|
||||
|
||||
alias_method :regular_writer, :[]= unless method_defined?(:regular_writer)
|
||||
|
Loading…
Reference in New Issue
Block a user