Class: Sass::CanonicalizeContext

Inherits:
Object
  • Object
show all
Defined in:
lib/sass/canonicalize_context.rb

Overview

Contextual information passed to ‘canonicalize` and `find_file_url`. Not all importers will need this information to resolve loads, but some may find it useful.

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#from_importBoolean (readonly)

Returns:

  • (Boolean)


16
17
18
# File 'lib/sass/canonicalize_context.rb', line 16

def from_import
  @from_import
end

Instance Method Details

#containing_urlString?

Returns:

  • (String, nil)


10
11
12
13
# File 'lib/sass/canonicalize_context.rb', line 10

def containing_url
  @containing_url_unused = false
  @containing_url
end