Method: Risu::Parsers::Nexpose::SimpleNexpose#on_characters

Defined in:
lib/risu/parsers/nexpose/simple_nexpose.rb

#on_characters(text) ⇒ Object

Called when the inner text of a element is reached

Parameters:

  • text


71
72
73
74
75
76
77
# File 'lib/risu/parsers/nexpose/simple_nexpose.rb', line 71

def on_characters(text)
	if @vals[@tag] == nil then
		@vals[@tag] = text
	else
		@vals[@tag] << text
	end
end