Class Sass::Media::QueryList
In: lib/sass/media.rb
Parent: Object

A comma-separated list of queries.

  media_query [ ',' S* media_query ]*

Methods

deep_copy   merge   new   to_a   to_css   to_src  

Attributes

queries  [RW]  The queries contained in this list.

@return [Array<Query>]

Public Class methods

@param queries [Array<Query>] See \{queries}

Public Instance methods

Returns a deep copy of this query list and all its children.

@return [QueryList]

Merges this query list with another. The returned query list queries for the intersection between the two inputs.

Both query lists should be resolved.

@param other [QueryList] @return [QueryList?] The merged list, or nil if there is no intersection.

Returns a representation of the query as an array of strings and potentially {Sass::Script::Node}s (if there‘s interpolation in it). When the interpolation is resolved and the strings are joined together, this will be the string representation of this query.

@return [Array<String, Sass::Script::Node>]

Returns the CSS for the media query list.

@return [String]

Returns the Sass/SCSS code for the media query list.

@param options [{Symbol => Object}] An options hash (see {Sass::CSS#initialize}). @return [String]

[Validate]