Class: Sass::CompileResult
- Inherits:
-
Object
- Object
- Sass::CompileResult
- Defined in:
- lib/sass/compile_result.rb
Overview
The result of compiling Sass to CSS. Returned by compile and compile_string.
Instance Attribute Summary collapse
- #css ⇒ String readonly
- #loaded_urls ⇒ Array<String> readonly
- #source_map ⇒ String? readonly
Instance Method Summary collapse
-
#initialize(css, source_map, loaded_urls) ⇒ CompileResult
constructor
A new instance of CompileResult.
Constructor Details
#initialize(css, source_map, loaded_urls) ⇒ CompileResult
Returns a new instance of CompileResult.
17 18 19 20 21 |
# File 'lib/sass/compile_result.rb', line 17 def initialize(css, source_map, loaded_urls) @css = css @source_map = source_map @loaded_urls = loaded_urls end |
Instance Attribute Details
#css ⇒ String (readonly)
9 10 11 |
# File 'lib/sass/compile_result.rb', line 9 def css @css end |
#loaded_urls ⇒ Array<String> (readonly)
15 16 17 |
# File 'lib/sass/compile_result.rb', line 15 def loaded_urls @loaded_urls end |
#source_map ⇒ String? (readonly)
12 13 14 |
# File 'lib/sass/compile_result.rb', line 12 def source_map @source_map end |