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

Version Path
xamplr-1.9.5 regression/tightly-nested-mutual-mentions/build.rb
xamplr-1.9.4 regression/tightly-nested-mutual-mentions/build.rb
xamplr-1.9.3 regression/tightly-nested-mutual-mentions/build.rb
xamplr-1.9.2 regression/tightly-nested-mutual-mentions/build.rb
xamplr-1.9.1 regression/tightly-nested-mutual-mentions/build.rb
xamplr-1.9.0 regression/tightly-nested-mutual-mentions/build.rb
xamplr-1.3.15 regression/tightly-nested-mutual-mentions/build.rb