class Sass::Tree::MediaNode

@see Sass::Tree
they bubble up to top-level.
in that when they’re nested within rules,
‘@media` rules behave differently from other directives
A static node representing a `@media` rule.

def initialize(query)

Parameters:
  • query (String) -- See \{#query}
def initialize(query)
  @query = query
  @tabs = 0
  super('')
end

def value

Other tags:
    See: DirectiveNode#value -
def value
  "@media #{query}"
end