Class: Haml::Exec::HamlSass

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

Overview

An abstrac class that encapsulates the code specific to the ‘haml` and `sass` executables.

Direct Known Subclasses

Haml, Sass

Instance Method Summary collapse

Methods inherited from Generic

#parse!, #to_s

Constructor Details

#initialize(args) ⇒ HamlSass

Returns a new instance of HamlSass.

Parameters:

  • args (Array<String>)

    The command-line arguments



116
117
118
119
# File 'lib/haml/exec.rb', line 116

def initialize(args)
  super
  @options[:for_engine] = {}
end