Method: REXML::Parsers::PullEvent#comment?

Defined in:
lib/rexml/parsers/pullparser.rb

#comment?Boolean

Content: [ String text ]

Returns:

  • (Boolean)


138
139
140
# File 'lib/rexml/parsers/pullparser.rb', line 138

def comment?
  @contents[0] == :comment
end