Class: Aspen::AST::Nodes::Attribute
- Inherits:
-
Object
- Object
- Aspen::AST::Nodes::Attribute
- Defined in:
- lib/aspen/ast/nodes/attribute.rb
Instance Attribute Summary collapse
-
#content ⇒ Object
readonly
Returns the value of attribute content.
-
#type ⇒ Object
readonly
Returns the value of attribute type.
Instance Method Summary collapse
-
#initialize(content) ⇒ Attribute
constructor
A new instance of Attribute.
Constructor Details
Instance Attribute Details
#content ⇒ Object (readonly)
Returns the value of attribute content.
6 7 8 |
# File 'lib/aspen/ast/nodes/attribute.rb', line 6 def content @content end |
#type ⇒ Object (readonly)
Returns the value of attribute type.
6 7 8 |
# File 'lib/aspen/ast/nodes/attribute.rb', line 6 def type @type end |