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



1187
1188
1189
1190
1191
1192
1193
1194
# File 'lib/sassmagic/reset.rb', line 1187

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.



1184
1185
1186
# File 'lib/sassmagic/reset.rb', line 1184

def default_syntax
  @default_syntax
end