Module: Sass
- Defined in:
- lib/sass/embedded.rb,
lib/sass/elf.rb,
lib/sass/value.rb,
lib/sass/value/map.rb,
lib/sass/value/list.rb,
lib/sass/value/null.rb,
lib/sass/value/color.rb,
lib/sass/value/mixin.rb,
lib/sass/script_error.rb,
lib/sass/value/number.rb,
lib/sass/value/string.rb,
lib/sass/compile_error.rb,
lib/sass/embedded/host.rb,
lib/sass/logger/silent.rb,
lib/sass/value/boolean.rb,
lib/sass/compile_result.rb,
lib/sass/value/function.rb,
lib/sass/embedded/varint.rb,
lib/sass/embedded/version.rb,
lib/sass/value/fuzzy_math.rb,
lib/sass/calculation_value.rb,
lib/sass/embedded_protocol.rb,
lib/sass/value/calculation.rb,
lib/sass/value/number/unit.rb,
lib/sass/embedded/protofier.rb,
lib/sass/logger/source_span.rb,
lib/sass/embedded/connection.rb,
lib/sass/embedded/dispatcher.rb,
lib/sass/value/argument_list.rb,
lib/sass/canonicalize_context.rb,
lib/sass/embedded/structifier.rb,
lib/sass/logger/source_location.rb,
lib/sass/embedded/host/logger_registry.rb,
lib/sass/embedded/host/value_protofier.rb,
lib/sass/embedded/resilient_dispatcher.rb,
lib/sass/embedded/host/function_registry.rb,
lib/sass/embedded/host/importer_registry.rb,
lib/sass/calculation_value/calculation_operation.rb,
ext/sass/embedded_sass_pb.rb
Overview
The Sass module.
This communicates with Embedded Dart Sass using the Embedded Sass protocol.
Defined Under Namespace
Modules: CalculationValue, Logger, Value Classes: CanonicalizeContext, CompileError, CompileResult, Embedded, ScriptError
Class Method Summary collapse
-
.compile(path, load_paths: [], charset: true, source_map: false, source_map_include_sources: false, style: :expanded, functions: {}, importers: [], alert_ascii: false, alert_color: nil, logger: nil, quiet_deps: false, verbose: false) ⇒ CompileResult
Compiles the Sass file at
path
to CSS. -
.compile_string(source, importer: nil, load_paths: [], syntax: :scss, url: nil, charset: true, source_map: false, source_map_include_sources: false, style: :expanded, functions: {}, importers: [], alert_ascii: false, alert_color: nil, logger: nil, quiet_deps: false, verbose: false) ⇒ CompileResult
Compiles a stylesheet whose contents is
source
to CSS. -
.info ⇒ String
Information about the Sass implementation.
Class Method Details
.compile(path, load_paths: [], charset: true, source_map: false, source_map_include_sources: false, style: :expanded, functions: {}, importers: [], alert_ascii: false, alert_color: nil, logger: nil, quiet_deps: false, verbose: false) ⇒ CompileResult
Compiles the Sass file at path
to CSS.
42 43 44 |
# File 'lib/sass/embedded.rb', line 42 def compile(...) instance.compile(...) end |
.compile_string(source, importer: nil, load_paths: [], syntax: :scss, url: nil, charset: true, source_map: false, source_map_include_sources: false, style: :expanded, functions: {}, importers: [], alert_ascii: false, alert_color: nil, logger: nil, quiet_deps: false, verbose: false) ⇒ CompileResult
Compiles a stylesheet whose contents is source
to CSS.
52 53 54 |
# File 'lib/sass/embedded.rb', line 52 def compile_string(...) instance.compile_string(...) end |
.info ⇒ String
Returns Information about the Sass implementation.
60 61 62 |
# File 'lib/sass/embedded.rb', line 60 def info instance.info end |