Method: Craftsman::Decorator::Annotation#process

Defined in:
lib/craftsman/decorator/annotation.rb

#process(content) ⇒ Object



5
6
7
8
9
10
# File 'lib/craftsman/decorator/annotation.rb', line 5

def process(content)
  content.gsub(REGEX) do |m|
    target = m.match(REGEX)[1]
    build_filter(target)
  end
end