Class: Riml::StringNode
- Inherits:
-
Struct
- Object
- Struct
- Riml::StringNode
- Includes:
- Visitable
- Defined in:
- lib/nodes.rb
Overview
type: :d or :s for double- or single-quoted
Constant Summary
Constants included from Visitable
Visitable::DESCENDANT_OF_REGEX
Instance Attribute Summary collapse
-
#type ⇒ Object
Returns the value of attribute type.
-
#value ⇒ Object
Returns the value of attribute value.
Attributes included from Visitable
#compiled_output, #force_newline, #parent_node, #scope
Method Summary
Methods included from Visitable
#accept, #method_missing, #respond_to?
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Riml::Visitable
Instance Attribute Details
#type ⇒ Object
Returns the value of attribute type
212 213 214 |
# File 'lib/nodes.rb', line 212 def type @type end |
#value ⇒ Object
Returns the value of attribute value
212 213 214 |
# File 'lib/nodes.rb', line 212 def value @value end |