Class: Sass::Supports::Condition
- Inherits:
-
Object
- Object
- Sass::Supports::Condition
- Defined in:
- lib/sass/supports.rb
Overview
The abstract superclass of all Supports conditions.
Direct Known Subclasses
Instance Method Summary collapse
-
#deep_copy ⇒ Condition
Returns a deep copy of this condition and all its children.
-
#options=(options)
Sets the options hash for the script nodes in the supports condition.
-
#perform(environment)
Runs the SassScript in the supports condition.
-
#to_css ⇒ String
Returns the CSS for this condition.
-
#to_src(options) ⇒ String
Returns the Sass/CSS code for this condition.
Instance Method Details
#deep_copy ⇒ Condition
Returns a deep copy of this condition and all its children.
24 |
# File '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.
29 |
# File 'lib/sass/supports.rb', line 29
def options=(options); Sass::Util.abstract(self); end
|
#perform(environment)
Runs the SassScript in the supports condition.
8 |
# File 'lib/sass/supports.rb', line 8
def perform(environment); Sass::Util.abstract(self); end
|
#to_css ⇒ String
Returns the CSS for this condition.
13 |
# File 'lib/sass/supports.rb', line 13
def to_css; Sass::Util.abstract(self); end
|
#to_src(options) ⇒ String
Returns the Sass/CSS code for this condition.
19 |
# File 'lib/sass/supports.rb', line 19
def to_src(options); Sass::Util.abstract(self); end
|