Class: Sasso::CompileResult

Inherits:
Struct
  • Object
show all
Defined in:
lib/sasso.rb

Overview

Returned by compile_string/compile when source_map: true. #css is the CSS String (identical to the plain-String return); #source_map is the Source Map v3 as a parsed Hash ("version" => 3, "mappings", "sources", …).

Instance Attribute Summary collapse

Instance Attribute Details

#cssObject

Returns the value of attribute css

Returns:

  • (Object)

    the current value of css



18
19
20
# File 'lib/sasso.rb', line 18

def css
  @css
end

#source_mapObject

Returns the value of attribute source_map

Returns:

  • (Object)

    the current value of source_map



18
19
20
# File 'lib/sasso.rb', line 18

def source_map
  @source_map
end