
The Mab class wraps Markaby, allowing it to run methods from Camping::Views and also to replace :href, :action and :src attributes in tags by prefixing the root path.

[ show source ]
# File lib/camping.rb, line 739
739: def tag!(*g,&b)
740: h=g[-1]
741: [:href,:action,:src].each{|a|(h[a]=self/h[a])rescue 0}
742: super
743: end