Sha256: 1a61a2e74082722ad5f76b691c91a2c822ef92ca0f8160863cf9911d63c325e0
Contents?: true
Size: 507 Bytes
Versions: 1
Compression:
Stored size: 507 Bytes
Contents
# -*- encoding : utf-8 -*- # # tagz.rb allows a safer method of mixin which requires any tagz methods to be # inside a tagz block - tagz generating methods outside a tagz block with # raise an error if tagz is included this way. also notice that the error is # reported from where it was raised - not from the bowels of the the tagz.rb # lib. # require 'tagz' include Tagz puts tagz{ html_{ 'works only in here' } } begin html_{ 'not out here' } rescue Object => e p :backtrace => e.backtrace end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
tagz-9.11.0 | samples/e.rb |