Class: Itonoko::Parser::HtmlParser::Token
- Inherits:
-
Struct
- Object
- Struct
- Itonoko::Parser::HtmlParser::Token
- Defined in:
- lib/itonoko/parser/html_parser.rb
Instance Attribute Summary collapse
-
#attrs ⇒ Object
Returns the value of attribute attrs.
-
#data ⇒ Object
Returns the value of attribute data.
-
#name ⇒ Object
Returns the value of attribute name.
-
#self_closing ⇒ Object
Returns the value of attribute self_closing.
-
#type ⇒ Object
Returns the value of attribute type.
Instance Attribute Details
#attrs ⇒ Object
Returns the value of attribute attrs
51 52 53 |
# File 'lib/itonoko/parser/html_parser.rb', line 51 def attrs @attrs end |
#data ⇒ Object
Returns the value of attribute data
51 52 53 |
# File 'lib/itonoko/parser/html_parser.rb', line 51 def data @data end |
#name ⇒ Object
Returns the value of attribute name
51 52 53 |
# File 'lib/itonoko/parser/html_parser.rb', line 51 def name @name end |
#self_closing ⇒ Object
Returns the value of attribute self_closing
51 52 53 |
# File 'lib/itonoko/parser/html_parser.rb', line 51 def self_closing @self_closing end |
#type ⇒ Object
Returns the value of attribute type
51 52 53 |
# File 'lib/itonoko/parser/html_parser.rb', line 51 def type @type end |