Sha256: 517edfe99e83c0027a083643073d36a88009ab2e1a9db58b1909a6307526e614
Contents?: true
Size: 610 Bytes
Versions: 27
Compression:
Stored size: 610 Bytes
Contents
require 'setup' module TestingStuff # <stuff pid='' xmlns="http://xampl.com/stuff"> # <parent pid=''> # <child pid=''> # <parent pid=''/> # </child> # </parent> # </stuff> Xampl.transaction("stuff") do parent = Parent.new('parent1') parent.info = "one" child = Child.new('child1') child.info = "two" parent << child child << parent puts "parent ---------------------------------------" puts parent.pp_xml puts "child ----------------------------------------" puts child.pp_xml end end
Version data entries
27 entries across 27 versions & 2 rubygems