Class: Itonoko::Parser::HtmlParser::Token

Inherits:
Struct
  • Object
show all
Defined in:
lib/itonoko/parser/html_parser.rb

Instance Attribute Summary collapse

Instance Attribute Details

#attrsObject

Returns the value of attribute attrs

Returns:

  • (Object)

    the current value of attrs



51
52
53
# File 'lib/itonoko/parser/html_parser.rb', line 51

def attrs
  @attrs
end

#dataObject

Returns the value of attribute data

Returns:

  • (Object)

    the current value of data



51
52
53
# File 'lib/itonoko/parser/html_parser.rb', line 51

def data
  @data
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



51
52
53
# File 'lib/itonoko/parser/html_parser.rb', line 51

def name
  @name
end

#self_closingObject

Returns the value of attribute self_closing

Returns:

  • (Object)

    the current value of self_closing



51
52
53
# File 'lib/itonoko/parser/html_parser.rb', line 51

def self_closing
  @self_closing
end

#typeObject

Returns the value of attribute type

Returns:

  • (Object)

    the current value of type



51
52
53
# File 'lib/itonoko/parser/html_parser.rb', line 51

def type
  @type
end