Class: RSX::Nodes::Attribute
- Inherits:
-
Struct
- Object
- Struct
- RSX::Nodes::Attribute
- Defined in:
- lib/rsx/nodes.rb
Overview
kind is :static (name="text"), :expression (name=ruby), :boolean (bare name) or :spread (**ruby / .....ruby).
Instance Attribute Summary collapse
-
#kind ⇒ Object
Returns the value of attribute kind.
-
#line ⇒ Object
Returns the value of attribute line.
-
#name ⇒ Object
Returns the value of attribute name.
-
#value ⇒ Object
Returns the value of attribute value.
Instance Attribute Details
#kind ⇒ Object
Returns the value of attribute kind
24 25 26 |
# File 'lib/rsx/nodes.rb', line 24 def kind @kind end |
#line ⇒ Object
Returns the value of attribute line
24 25 26 |
# File 'lib/rsx/nodes.rb', line 24 def line @line end |
#name ⇒ Object
Returns the value of attribute name
24 25 26 |
# File 'lib/rsx/nodes.rb', line 24 def name @name end |
#value ⇒ Object
Returns the value of attribute value
24 25 26 |
# File 'lib/rsx/nodes.rb', line 24 def value @value end |