require 'setup' module TestingStuff # # # # # # # 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