module Pushapp
Constants
- DEFAULT_CONFIG_LOCATION
- TEMPLATE_ROOT
- TMP_HOOK
- VERSION
Public Class Methods
rmerge(a, b)
click to toggle source
# File lib/pushapp.rb, line 21 def self.rmerge(a, b) r = {} a ||= {} b ||= {} a = a.merge(b) do |key, oldval, newval| r[key] = (Hash === oldval ? rmerge(oldval, newval) : newval) end a.merge(r) end