method

decode_textbuf

ruby latest stable - Class: SOAP::EncodingStyle::LiteralHandler

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v1_8_7_330) is shown here.

decode_textbuf(node)
private

No documentation available.

# File lib/soap/encodingstyle/literalHandler.rb, line 209
  def decode_textbuf(node)
    if node.is_a?(XSD::XSDString)
      if @charset
        node.set(XSD::Charset.encoding_from_xml(@textbuf, @charset))
      else
        node.set(@textbuf)
      end
    else
      # Nothing to do...
    end
  end