method

xmldecl

ruby latest stable - Class: SOAP::SOAPGenerator

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.

xmldecl()
private

No documentation available.

# File lib/soap/generator.rb, line 258
  def xmldecl
    if @charset
      %Q[<?xml version="1.0" encoding="#{ @charset }" ?>]
    else
      %Q[<?xml version="1.0" ?>]
    end
  end