Method: BBLib::HashPathProcs.reverse_concat

Defined in:
lib/hash_path/processors.rb

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



235
236
237
# File 'lib/hash_path/processors.rb', line 235

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