change merge to merge!

This commit is contained in:
Vipul A M 2013-03-29 20:58:46 +05:30
parent 8db99d3be8
commit bd674fd4e5
2 changed files with 2 additions and 2 deletions

@ -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)