Method: Xqruby::Document#text!

Defined in:
lib/xqruby/xqruby.rb

#text!(string) ⇒ Object

Appends a text node at the current position in the document



150
151
152
153
154
# File 'lib/xqruby/xqruby.rb', line 150

def text!(string)
  text = XOM::Text.new string
  @target.append_child(text)
  self
end