Method: ParseHTML#node_type

Defined in:
lib/parsehtml.rb

#node_typeObject (readonly)

node type:

  • tag (see isStartTag)

  • text (include cdata)

  • comment

  • doctype

  • pi (processing instruction)



111
112
113
# File 'lib/parsehtml.rb', line 111

def node_type
  @node_type
end