Class: Sasspectations::Runner
- Inherits:
-
Object
- Object
- Sasspectations::Runner
- Defined in:
- lib/sasspectations/runner.rb
Instance Method Summary collapse
-
#initialize(root_path) ⇒ Runner
constructor
A new instance of Runner.
- #render ⇒ Object
Constructor Details
#initialize(root_path) ⇒ Runner
Returns a new instance of Runner.
5 6 7 |
# File 'lib/sasspectations/runner.rb', line 5 def initialize(root_path) @root_path = root_path end |
Instance Method Details
#render ⇒ Object
9 10 11 |
# File 'lib/sasspectations/runner.rb', line 9 def render spec_files.map { |path| scss_file_to_css(path) }.join("\n\n") end |