Sha256: d72ede197bd297899f3710a76b83afa6520182e79866b26e3cfd1be4131662f7
Contents?: true
Size: 298 Bytes
Versions: 16
Compression:
Stored size: 298 Bytes
Contents
#!/usr/bin/env ruby -wW1 $: << '../lib' $: << '../ext' require 'ox' def name_it() begin "x".foo rescue Exception => e #puts e.message xml = Ox.dump(e, effort: :tolerant) puts xml o = Ox.load(xml, mode: :object) puts o.message puts Ox.dump(e) end end name_it()
Version data entries
16 entries across 16 versions & 1 rubygems