Method: Stupidedi::Zipper::EditedCursor#append
- Defined in:
- lib/stupidedi/zipper/edited_cursor.rb
#append(node) ⇒ AbstractCursor, EditedCursor
Navigate to the last (rightmost) sibling node
113 114 115 116 |
# File 'lib/stupidedi/zipper/edited_cursor.rb', line 113 def append(node) EditedCursor.new(node, Hole.new(@node.cons(@path.left), @path.parent, @path.right), @parent) end |