Method: Informix::ExcInfo#to_s

Defined in:
lib/informix/exceptions.rb

#to_sObject

excinfo.to_s => string

Returns a string representation of the error.



47
48
49
50
51
52
53
# File 'lib/informix/exceptions.rb', line 47

def to_s
  ret = "\n"
  each_pair do |member, value|
    ret += sprintf(FORMAT, member.to_s, value)
  end
  ret
end