Method: BBLib::HashPathProcs.concat

Defined in:
lib/hash_path/processors.rb

.concat(child, *args, class_based: true) ⇒ Object



231
232
233
# File 'lib/hash_path/processors.rb', line 231

def self.concat(child, *args, class_based: true)
  child.replace_with(([child.value] + child.root.find(args.first)).map { |v| v.to_s }.join)
end