Method: XMLStreamin::XMLSpec#text
- Defined in:
- lib/xmlstreamin.rb
#text(context, data) ⇒ Object
Called by XMLStreamListener when text is encountered within a handled element. It will be invoked separately for each text segment (separated by subordinate elements) within the element. It is a dummy method that may be redefined as desired to handle the text. It does not need to return the context.
185 186 |
# File 'lib/xmlstreamin.rb', line 185 def text context,data end |