Sha256: 12bfba3d9398e3d8ecf327f677eacdc0e2a9fdf5c5ab492a3e36e2bfdc0087d4

Contents?: true

Size: 203 Bytes

Versions: 22

Compression:

Stored size: 203 Bytes

Contents

#
# 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

22 entries across 22 versions & 2 rubygems

Version Path
ahoward-tagz-5.1.0 samples/c.rb
ahoward-tagz-6.0.0 samples/c.rb
ahoward-tagz-7.0.0 samples/c.rb
ahoward-tagz-7.1.0 samples/c.rb
tagz-9.0.0 samples/c.rb
tagz-8.2.0 samples/c.rb
tagz-8.1.0 samples/c.rb
tagz-8.0.0 samples/c.rb
tagz-7.2.2 samples/c.rb
tagz-7.2.3 samples/c.rb
tagz-7.2.1 samples/c.rb
tagz-7.2.0 samples/c.rb
tagz-6.0.0 samples/c.rb
tagz-7.0.0 samples/c.rb
tagz-7.1.0 samples/c.rb
tagz-4.3.0 samples/c.rb
tagz-5.0.1 samples/c.rb
tagz-4.5.0 samples/c.rb
tagz-4.6.0 samples/c.rb
tagz-4.2.0 samples/c.rb