Module: Stupidedi::Zipper

Defined in:
lib/stupidedi/zipper.rb,
lib/stupidedi/zipper/path.rb,
lib/stupidedi/zipper/root_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

Classes: AbstractCursor, AbstractPath, DanglingCursor, EditedCursor, Hole, MemoizedCursor, RootCursor

Constructors collapse

Class Method Details

.build(node) ⇒ AbstractCursor

Returns:


24
25
26
# File 'lib/stupidedi/zipper.rb', line 24

def build(node)
  Zipper::RootCursor.new(node)
end