Class: Sass::Supports::Condition

Inherits:
Object
  • Object
show all
Defined in:
/var/www/sass-pages/.sass/lib/sass/supports.rb

Overview

The abstract superclass of all Supports conditions.

Direct Known Subclasses

Declaration, Interpolation, Negation, Operator

Instance Method Summary

Instance Method Details

- (Condition) deep_copy

Returns a deep copy of this condition and all its children.

Returns:



24
# File '/var/www/sass-pages/.sass/lib/sass/supports.rb', line 24

def deep_copy; Sass::Util.abstract(self) end

- options=(options)

Sets the options hash for the script nodes in the supports condition.

Parameters:

  • ({Symbol => Object}) options — The options has to set.


29
# File '/var/www/sass-pages/.sass/lib/sass/supports.rb', line 29

def options=(options) Sass::Util.abstract(self) end

- perform(environment)

Runs the SassScript in the supports condition.

Parameters:



8
# File '/var/www/sass-pages/.sass/lib/sass/supports.rb', line 8

def perform(environment) Sass::Util.abstract(self) end

- (String) to_css

Returns the CSS for this condition.

Returns:

  • (String)


13
# File '/var/www/sass-pages/.sass/lib/sass/supports.rb', line 13

def to_css; Sass::Util.abstract(self) end

- (String) to_src(options)

Returns the Sass/CSS code for this condition.

Parameters:

Returns:

  • (String)


19
# File '/var/www/sass-pages/.sass/lib/sass/supports.rb', line 19

def to_src(options) Sass::Util.abstract(self) end