Method: NoSE::KeyPath#splice
- Defined in:
- lib/nose/statements.rb
#splice(target, entity) ⇒ KeyPath
Find where the path intersects the given entity and splice in the target path
222 223 224 |
# File 'lib/nose/statements.rb', line 222 def splice(target, entity) split(entity) + target end |