Sha256: cd8f0b7ab20cdf10ceb40add02982a487570448fab9f169b5ab12aec1025b84f
Contents?: true
Size: 405 Bytes
Versions: 2
Compression:
Stored size: 405 Bytes
Contents
#!/usr/bin/env ruby -wW1 $: << '../lib' $: << '../ext' $: << '../../pod/modules/pod/cfg/lib' $: << '../../pod/modules/pod/core/lib' $: << '../../pod/modules/pod/esb/lib' if __FILE__ == $0 if (i = ARGV.index('-I')) x,path = ARGV.slice!(i, 2) $: << path end end require 'ox' require 'pod/cfg' x = Ox.load_file('fail.xml', :mode => :object, :effort => :strict) puts "return is a #{x.class}"
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ox-1.5.4 | test/bug3.rb |
ox-1.5.3 | test/bug3.rb |