class PublifyApp::Textfilter::MacroPost
Public Class Methods
filtertext(text)
click to toggle source
# File lib/text_filter_plugin.rb, line 163 def self.filtertext(text) macros = TextFilterPlugin.available_filter_types["macropost"] macros.reduce(text) do |new_text, macro| macro.filtertext(new_text) end end