Class: Guide::Cartographer

Inherits:
Object
  • Object
show all
Defined in:
app/models/guide/cartographer.rb

Instance Method Summary collapse

Constructor Details

#initialize(bouncer) ⇒ Cartographer

Returns a new instance of Cartographer.


2
3
4
# File 'app/models/guide/cartographer.rb', line 2

def initialize(bouncer)
  @bouncer = bouncer
end

Instance Method Details

#draw_paths_to_visible_renderable_nodes(starting_node:) ⇒ Object


6
7
8
# File 'app/models/guide/cartographer.rb', line 6

def draw_paths_to_visible_renderable_nodes(starting_node:)
  recursively_cartograph_visible_renderable_nodes(node: starting_node)
end