Class: Craftsman::Decorator::Helper

Inherits:
Base
  • Object
show all
Defined in:
lib/craftsman/decorator/helper.rb

Constant Summary

Constants inherited from Base

Base::FILTER_EXT_MAPPING

Instance Method Summary collapse

Methods inherited from Base

#initialize, process

Constructor Details

This class inherits a constructor from Craftsman::Decorator::Base

Instance Method Details

#process(content) ⇒ Object



3
4
5
6
7
# File 'lib/craftsman/decorator/helper.rb', line 3

def process(content)
  helper_targets.map do |t|
    build_filter t
  end.join + content
end