Class Camping::Mab
In: lib/camping-unabridged.rb
Parent: Markaby::Builder

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.

Methods

tag!  

Included Modules

Views

Public Instance methods

[Source]

     # File lib/camping-unabridged.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

[Validate]