Class: SyntaxTree::Haml::Format::PlainPart
- Inherits:
-
Struct
- Object
- Struct
- SyntaxTree::Haml::Format::PlainPart
- Defined in:
- lib/syntax_tree/haml/format.rb
Instance Attribute Summary collapse
-
#value ⇒ Object
Returns the value of attribute value.
Instance Method Summary collapse
Instance Attribute Details
#value ⇒ Object
Returns the value of attribute value
196 197 198 |
# File 'lib/syntax_tree/haml/format.rb', line 196 def value @value end |
Instance Method Details
#format(q, align) ⇒ Object
197 198 199 |
# File 'lib/syntax_tree/haml/format.rb', line 197 def format(q, align) q.text(value) end |
#length ⇒ Object
201 202 203 |
# File 'lib/syntax_tree/haml/format.rb', line 201 def length value.length end |