Class: Assets::Rule::Compile::Css::Scss

Inherits:
Assets::Rule::Compile::Css show all
Defined in:
lib/assets/rule/compile/css.rb

Overview

Compiler for sass in scss flavor

Constant Summary

Constants inherited from Assets::Rule::Compile::Css

MIME

Instance Method Summary collapse

Methods inherited from Assets::Rule::Compile

build, #mime, mime, #name, registry, #target_name, #updated_at

Methods inherited from Assets::Rule

#asset, #fresh_at?, #mime, #rename, #updated_at

Instance Method Details

#bodyString

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.

Return body

Returns:

  • (String)


35
36
37
# File 'lib/assets/rule/compile/css.rb', line 35

def body
  binary(::Sass.compile(input.body, :syntax => :scss))
end