Sha256: 5e8d50d57ffb3f111c7762b1f3929b983aa0c32615542a46ba388be5bae665c4

Contents?: true

Size: 230 Bytes

Versions: 14

Compression:

Stored size: 230 Bytes

Contents

# -*- encoding : utf-8 -*-
#
# once you've learned to generate html using tagz you're primed to generate
# xml too
#

require 'tagz'
include Tagz.globally

doc =
  xml_{
    giraffe_{ 'large' }
    ninja_{ 'small' }
  }

puts doc

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
tagz-9.11.0 samples/c.rb
tagz-9.10.0 samples/c.rb
tagz-9.9.2 samples/c.rb
tagz-9.9.1 samples/c.rb
tagz-9.9.0 samples/c.rb
tagz-9.7.0 samples/c.rb
tagz-9.6.2 samples/c.rb
tagz-9.6.1 samples/c.rb
tagz-9.6.0 samples/c.rb
tagz-9.5.0 samples/c.rb
tagz-9.4.0 samples/c.rb
tagz-9.3.0 samples/c.rb
tagz-9.2.0 samples/c.rb
tagz-9.1.0 samples/c.rb