Module: TextileExtensionPack::RegularExpressions
- Defined in:
- lib/textile_extension_pack/regular_expressions.rb
Instance Method Summary collapse
Instance Method Details
#tags(text) ⇒ Object
4 5 6 7 8 9 10 |
# File 'lib/textile_extension_pack/regular_expressions.rb', line 4 def (text) text.gsub!(/cleaner./, '<hr class="cleaner" />') text.gsub!(/columnstart./, '<div class="column">') text.gsub!(/columnend./, '</div>') text.gsub!(/decolumnize./, '</div>') text.gsub!(/columnize./, '<div class="columnized">') end |