Class: Guard::Sass::Runner
- Inherits:
-
Object
- Object
- Guard::Sass::Runner
- Defined in:
- lib/guard/sass/runner.rb
Instance Attribute Summary collapse
-
#options ⇒ Object
readonly
Returns the value of attribute options.
Instance Method Summary collapse
-
#initialize(watchers, formatter, options = {}) ⇒ Runner
constructor
A new instance of Runner.
- #run(files) ⇒ Array<Array,Boolean>
Constructor Details
#initialize(watchers, formatter, options = {}) ⇒ Runner
Returns a new instance of Runner.
14 15 16 17 18 |
# File 'lib/guard/sass/runner.rb', line 14 def initialize(watchers, formatter, ={}) @watchers = watchers @formatter = formatter @options = end |
Instance Attribute Details
#options ⇒ Object (readonly)
Returns the value of attribute options.
9 10 11 |
# File 'lib/guard/sass/runner.rb', line 9 def @options end |
Instance Method Details
#run(files) ⇒ Array<Array,Boolean>
22 23 24 25 |
# File 'lib/guard/sass/runner.rb', line 22 def run(files) changed_files, errors = compile_files(files) [changed_files, errors.empty?] end |