Class: CSS::MediaQueries::MediaQuery
- Inherits:
-
Data
- Object
- Data
- CSS::MediaQueries::MediaQuery
- Includes:
- Node
- Defined in:
- lib/css/media_queries/nodes.rb
Overview
‘modifier` is `nil`, `:not`, or `:only`. `type` is `nil` or a downcased string (’screen’, ‘print’, ‘all’, …). ‘condition` is `nil` or a media-condition node.
Instance Attribute Summary collapse
-
#condition ⇒ Object
readonly
Returns the value of attribute condition.
-
#modifier ⇒ Object
readonly
Returns the value of attribute modifier.
-
#type ⇒ Object
readonly
Returns the value of attribute type.
Instance Attribute Details
#condition ⇒ Object (readonly)
Returns the value of attribute condition
14 15 16 |
# File 'lib/css/media_queries/nodes.rb', line 14 def condition @condition end |
#modifier ⇒ Object (readonly)
Returns the value of attribute modifier
14 15 16 |
# File 'lib/css/media_queries/nodes.rb', line 14 def modifier @modifier end |
#type ⇒ Object (readonly)
Returns the value of attribute type
14 15 16 |
# File 'lib/css/media_queries/nodes.rb', line 14 def type @type end |