Method: REXML::Parsers::PullEvent#initialize

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

#initialize(arg) ⇒ PullEvent

The type of this event. Will be one of :tag_start, :tag_end, :text, :processing_instruction, :comment, :doctype, :attlistdecl, :entitydecl, :notationdecl, :entity, :cdata, :xmldecl, or :error.



95
96
97
# File 'lib/rexml/parsers/pullparser.rb', line 95

def initialize(arg)
  @contents = arg
end