Class: Haml::Exec::Sass

Inherits:
HamlSass show all
Defined in:
lib/haml/exec.rb

Overview

The ‘sass` executable.

Instance Method Summary collapse

Methods inherited from Generic

#parse!, #to_s

Constructor Details

#initialize(args) ⇒ Sass

Returns a new instance of Sass.

Parameters:

  • args (Array<String>)

    The command-line arguments



200
201
202
203
204
# File 'lib/haml/exec.rb', line 200

def initialize(args)
  super
  @name = "Sass"
  @options[:for_engine][:load_paths] = ['.'] + (ENV['SASSPATH'] || '').split(File::PATH_SEPARATOR)
end