Module: Stupidedi::Zipper

Defined in:
lib/stupidedi/zipper.rb,
lib/stupidedi/zipper/path.rb,
lib/stupidedi/zipper/root_cursor.rb,
lib/stupidedi/zipper/stack_cursor.rb,
lib/stupidedi/zipper/edited_cursor.rb,
lib/stupidedi/zipper/abstract_cursor.rb,
lib/stupidedi/zipper/dangling_cursor.rb,
lib/stupidedi/zipper/memoized_cursor.rb

Defined Under Namespace

Modules: Stack, Tree Classes: AbstractCursor, AbstractPath, DanglingCursor, EditedCursor, Hole, MemoizedCursor, RootCursor, StackCursor

Constructors collapse

Class Method Details

.build(node) ⇒ AbstractCursor

Returns:



41
42
43
# File 'lib/stupidedi/zipper.rb', line 41

def build(node)
  Zipper::Tree.build(node)
end