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

Version Path
ox-1.5.2 test/bug3.rb
ox-1.5.0 test/bug3.rb
ox-1.4.6 test/bug3.rb
ox-1.4.5 test/bug3.rb
ox-1.4.3 test/bug3.rb
ox-1.4.1 test/bug3.rb
ox-1.4.0 test/bug3.rb
ox-1.3.4 test/bug3.rb
ox-1.3.3 test/bug3.rb
ox-1.3.2 test/bug3.rb
ox-1.3.1 test/bug3.rb
ox-1.3.0 test/bug3.rb
ox-1.2.15 test/bug3.rb
ox-1.2.12 test/bug3.rb
ox-1.2.11 test/bug3.rb
ox-1.2.10 test/bug3.rb