Class: Guard::Hogan::Runner
- Inherits:
-
Object
- Object
- Guard::Hogan::Runner
- Defined in:
- lib/guard/hogan/runner.rb
Instance Method Summary collapse
-
#initialize(options) ⇒ Runner
constructor
A new instance of Runner.
- #run(paths = []) ⇒ Object
Constructor Details
#initialize(options) ⇒ Runner
Returns a new instance of Runner.
6 7 8 |
# File 'lib/guard/hogan/runner.rb', line 6 def initialize() @options = end |
Instance Method Details
#run(paths = []) ⇒ Object
10 11 12 13 |
# File 'lib/guard/hogan/runner.rb', line 10 def run(paths=[]) templates = paths.collect { |path| compile(path) } write_templates_file(templates, paths) end |