Class: Sass::Supports::Condition

Inherits:
Object
  • Object
show all
Defined in:
/Users/ceppstei/Projects/sass-lang/.sass/lib/sass/supports.rb

Overview

The abstract superclass of all Supports conditions.

Direct Known Subclasses

Declaration, Interpolation, Negation, Operator

Instance Method Summary (collapse)

Instance Method Details

- (Condition) deep_copy

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

Returns:



24
# File '/Users/ceppstei/Projects/sass-lang/.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:

  • options ({Symbol => Object})

    The options has to set.



29
# File '/Users/ceppstei/Projects/sass-lang/.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 '/Users/ceppstei/Projects/sass-lang/.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 '/Users/ceppstei/Projects/sass-lang/.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:

  • options ({Symbol => Object})

    An options hash (see CSS#initialize).

Returns:

  • (String)


19
# File '/Users/ceppstei/Projects/sass-lang/.sass/lib/sass/supports.rb', line 19

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