Module: Nanoc::Filters::SassCommon Private

Included in:
SassFilter, SassSourcemapFilter
Defined in:
lib/nanoc/filters/sass.rb,
lib/nanoc/filters/sass/importer.rb

This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.

Defined Under Namespace

Classes: Importer

Constant Summary collapse

REQUIRES =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

%w[sass nanoc/filters/sass/importer nanoc/filters/sass/functions].freeze

Instance Method Summary collapse

Instance Method Details

#css(filter, rep, content, params) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



7
8
9
10
# File 'lib/nanoc/filters/sass.rb', line 7

def css(filter, rep, content, params)
  css, = render(filter, rep, content, params)
  css
end

#sourcemap(filter, rep, content, params) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



12
13
14
15
# File 'lib/nanoc/filters/sass.rb', line 12

def sourcemap(filter, rep, content, params)
  _, sourcemap = render(filter, rep, content, params)
  sourcemap
end