Sha256: 026abe79e671730ab53fb46cce12ba30a6ab549ded346543568511a0de8ce5bc
Contents?: true
Size: 508 Bytes
Versions: 13
Compression:
Stored size: 508 Bytes
Contents
# -*- encoding : utf-8 -*- # # tagz.rb allows a safer method of mixin which requires any tagz methods to be # insider 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
13 entries across 13 versions & 1 rubygems