Method: REXML::Parsers::PullEvent#instruction?

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

#instruction?Boolean

Content: [ String text ]

Returns:

  • (Boolean)


133
134
135
# File 'lib/rexml/parsers/pullparser.rb', line 133

def instruction?
  @contents[0] == :processing_instruction
end