Class: Sasspectations::Runner

Inherits:
Object
  • Object
show all
Defined in:
lib/sasspectations/runner.rb

Instance Method Summary collapse

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

#renderObject



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