Class: Guard::Erb

Inherits:
Guard
  • Object
show all
Defined in:
lib/guard/erb.rb

Instance Method Summary collapse

Constructor Details

#initialize(watchers = [], options = {}) ⇒ Erb

Returns a new instance of Erb.



7
8
9
10
11
# File 'lib/guard/erb.rb', line 7

def initialize(watchers=[], options={})
  @input  = options[:input]
  @output = options[:output]
  super(watchers, options)
end

Instance Method Details

#reloadObject



17
18
19
# File 'lib/guard/erb.rb', line 17

def reload
  compile
end

#run_allObject



21
22
23
# File 'lib/guard/erb.rb', line 21

def run_all
  compile
end

#run_on_change(paths) ⇒ Object



25
26
27
# File 'lib/guard/erb.rb', line 25

def run_on_change(paths)
  compile
end

#startObject



13
14
15
# File 'lib/guard/erb.rb', line 13

def start
  compile
end