Class: CSS::Nodes::QualifiedRule

Inherits:
Data
  • Object
show all
Defined in:
lib/css/nodes.rb

Overview

A qualified rule, i.e. a style rule. ‘prelude` is the selector list as raw component values, `block` is the body.

Instance Attribute Summary collapse

Instance Attribute Details

#blockObject (readonly)

Returns the value of attribute block

Returns:

  • (Object)

    the current value of block



12
13
14
# File 'lib/css/nodes.rb', line 12

def block
  @block
end

#preludeObject (readonly)

Returns the value of attribute prelude

Returns:

  • (Object)

    the current value of prelude



12
13
14
# File 'lib/css/nodes.rb', line 12

def prelude
  @prelude
end