Method: TreeHash#set
- Defined in:
- lib/bblib/core/classes/tree_hash.rb
#set(paths) ⇒ Object
99 100 101 102 103 104 |
# File 'lib/bblib/core/classes/tree_hash.rb', line 99 def set(paths) paths.each do |path, value| find(path).each { |child| child.replace_with(value) } end self end |