Class: Utopia::Content::Tag
- Inherits:
-
Struct
- Object
- Struct
- Utopia::Content::Tag
- Defined in:
- lib/utopia/content/tag.rb
Overview
This represents an individual SGML tag, e.g. , or , with attributes. Attribute values must be escaped.
Instance Attribute Summary collapse
-
#attributes ⇒ Object
Returns the value of attribute attributes.
-
#closed ⇒ Object
Returns the value of attribute closed.
-
#name ⇒ Object
Returns the value of attribute name.
Instance Attribute Details
#attributes ⇒ Object
Returns the value of attribute attributes
26 27 28 |
# File 'lib/utopia/content/tag.rb', line 26 def attributes @attributes end |
#closed ⇒ Object
Returns the value of attribute closed
26 27 28 |
# File 'lib/utopia/content/tag.rb', line 26 def closed @closed end |
#name ⇒ Object
Returns the value of attribute name
26 27 28 |
# File 'lib/utopia/content/tag.rb', line 26 def name @name end |