Class: Dommy::Internal::CSS::Parser::ImportRule

Inherits:
Struct
  • Object
show all
Defined in:
lib/dommy/internal/css/parser.rb

Overview

in at this position (RuleIndex resolves the URL through the host). media (may be "") gates them like @media.

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#mediaObject

Returns the value of attribute media

Returns:

  • (Object)

    the current value of media



67
68
69
# File 'lib/dommy/internal/css/parser.rb', line 67

def media
  @media
end

#urlObject

Returns the value of attribute url

Returns:

  • (Object)

    the current value of url



67
68
69
# File 'lib/dommy/internal/css/parser.rb', line 67

def url
  @url
end

Instance Method Details

#grouping?Boolean

Returns:

  • (Boolean)


68
# File 'lib/dommy/internal/css/parser.rb', line 68

def grouping? = false