Class: LLT::Token::XmlTag
- Inherits:
-
LLT::Token
- Object
- LLT::Token
- LLT::Token::XmlTag
- Defined in:
- lib/llt/token/xml_tag.rb
Instance Attribute Summary
Attributes inherited from LLT::Token
Instance Method Summary collapse
- #inspect ⇒ Object
- #set_functions ⇒ Object
-
#to_xml(*args) ⇒ Object
overrides #to_xml from Containable - the tag stays as it is.
Methods inherited from LLT::Token
#==, #add_form, #add_forms, #has_special_role?, #initialize, #set_special_role, #use
Constructor Details
This class inherits a constructor from LLT::Token
Instance Method Details
#inspect ⇒ Object
13 14 15 |
# File 'lib/llt/token/xml_tag.rb', line 13 def inspect "#{'XML tag'.blue} #{tag_status}: #{to_s}" end |
#set_functions ⇒ Object
4 5 6 |
# File 'lib/llt/token/xml_tag.rb', line 4 def set_functions [:xml_tag] end |
#to_xml(*args) ⇒ Object
overrides #to_xml from Containable - the tag stays as it is
9 10 11 |
# File 'lib/llt/token/xml_tag.rb', line 9 def to_xml(*args) to_s end |