Sha256: 47a6f22cb8257bfc9ec3d9935ea987ddb70a990a9d89f10d9774e3f1f2283c0e
Contents?: true
Size: 553 Bytes
Versions: 17
Compression:
Stored size: 553 Bytes
Contents
# # tagz.rb can generate really compact html. this is great to save bandwidth # but can sometimes make reading the generated html a bit rough. of course # using tidy or the dom inspector in firebug obviates the issue; nevertheless # it's sometime nice to break things up a little. you can use 'tagz << "\n"' # or the special shorthand '__' or '___' to accomplish this # require 'tagz' include Tagz.globally html = div_{ span_{ true } __ span_{ false } # hey ryan, i fixed this ;-) ___ ___ 'foo & escaped bar' } puts html
Version data entries
17 entries across 17 versions & 2 rubygems