Module: DevSuite::DirectoryTree

Defined in:
lib/dev_suite/directory_tree.rb,
lib/dev_suite/directory_tree/node.rb,
lib/dev_suite/directory_tree/config.rb,
lib/dev_suite/directory_tree/builder.rb,
lib/dev_suite/directory_tree/renderer.rb,
lib/dev_suite/directory_tree/node/base.rb,
lib/dev_suite/directory_tree/node/file.rb,
lib/dev_suite/directory_tree/node/node.rb,
lib/dev_suite/directory_tree/visualizer.rb,
lib/dev_suite/directory_tree/builder/base.rb,
lib/dev_suite/directory_tree/config/config.rb,
lib/dev_suite/directory_tree/renderer/base.rb,
lib/dev_suite/directory_tree/directory_tree.rb,
lib/dev_suite/directory_tree/node/directory.rb,
lib/dev_suite/directory_tree/builder/builder.rb,
lib/dev_suite/directory_tree/renderer/simple.rb,
lib/dev_suite/directory_tree/visualizer/base.rb,
lib/dev_suite/directory_tree/visualizer/tree.rb,
lib/dev_suite/directory_tree/renderer/renderer.rb,
lib/dev_suite/directory_tree/config/configuration.rb,
lib/dev_suite/directory_tree/visualizer/visualizer.rb,
lib/dev_suite/directory_tree/node/permission_denied.rb

Defined Under Namespace

Modules: Builder, Config, Node, Renderer, Visualizer

Class Method Summary collapse

Class Method Details

.visualize(path) ⇒ Object



12
13
14
15
# File 'lib/dev_suite/directory_tree/directory_tree.rb', line 12

def visualize(path)
  visualizer = Config.configuration.visualizer
  visualizer.visualize(path)
end