Class: Sass::Exec::SassScss

Inherits:
Base
  • Object
show all
Defined in:
lib/sassmagic/reset.rb

Overview

The ‘sass` and `scss` executables.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Base

#parse, #parse!, #to_s

Constructor Details

#initialize(args, default_syntax) ⇒ SassScss

Returns a new instance of SassScss.

Parameters:

  • args (Array<String>)

    The command-line arguments



1157
1158
1159
1160
1161
1162
1163
1164
# File 'lib/sassmagic/reset.rb', line 1157

def initialize(args, default_syntax)
  super(args)
  @options[:sourcemap] = :auto
  @options[:for_engine] = {
      :load_paths => default_sass_path
  }
  @default_syntax = default_syntax
end

Instance Attribute Details

#default_syntaxObject (readonly)

Returns the value of attribute default_syntax.



1154
1155
1156
# File 'lib/sassmagic/reset.rb', line 1154

def default_syntax
  @default_syntax
end