Class: SyntaxTree::CSS::Format
- Inherits:
-
BasicVisitor
- Object
- BasicVisitor
- SyntaxTree::CSS::Format
- Defined in:
- lib/syntax_tree/css/format.rb
Overview
A formatting visitor.
Instance Attribute Summary collapse
-
#q ⇒ Object
readonly
Returns the value of attribute q.
Instance Method Summary collapse
-
#initialize(q) ⇒ Format
constructor
A new instance of Format.
Methods inherited from BasicVisitor
#visit, #visit_all, #visit_child_nodes
Constructor Details
#initialize(q) ⇒ Format
Returns a new instance of Format.
9 10 11 |
# File 'lib/syntax_tree/css/format.rb', line 9 def initialize(q) @q = q end |
Instance Attribute Details
#q ⇒ Object (readonly)
Returns the value of attribute q.
7 8 9 |
# File 'lib/syntax_tree/css/format.rb', line 7 def q @q end |