Define put_or_merge

pull/11/head
Daniel Asher Resnick 2 years ago
parent 0b3e725c85
commit 6e7c8237a7
  1. 8
      src/lib/data.rb

@ -45,6 +45,14 @@ module Charred
end
end
def put_or_merge(dict, key, value)
if(dict[key])
verbose_merge dict[key], value
else
dict[key] = value
end
end
def lifepath_requirements(expr)
if expr.is_a? Numeric
[]

Loading…
Cancel
Save