Method: SXRB::Proxy#on_characters
- Defined in:
- lib/sxrb/proxy.rb
#on_characters {|String| ... } ⇒ nil
Defines a callback that is invoked whenever anonymous text node within self is encountered.
95 96 97 |
# File 'lib/sxrb/proxy.rb', line 95 def on_characters(&block) @callback_tree.add_callback(:characters, @current_path, &block) end |