Class: Curly::DependencyTracker

Inherits:
Object
  • Object
show all
Defined in:
lib/curly/dependency_tracker.rb

Class Method Summary collapse

Class Method Details

.call(path, template) ⇒ Object


3
4
5
6
# File 'lib/curly/dependency_tracker.rb', line 3

def self.call(path, template)
  presenter = Curly::Presenter.presenter_for_path(path)
  presenter.dependencies.to_a
end