Method: Nanoc::Core::Configuration#merge

Defined in:
lib/nanoc/core/configuration.rb

#merge(hash) ⇒ Object



123
124
125
# File 'lib/nanoc/core/configuration.rb', line 123

def merge(hash)
  self.class.new(hash: merge_recursively(@wrapped, hash.to_h), dir: @dir, env_name: @env_name)
end