# File lib/ezamar/element.rb, line 77 def transform template matches = template.scan(/<([A-Z][a-zA-Z0-9]*)(.*?)?>/) matches.each do |(klass, params)| transformer = (params[-1,1] == '/' ? :without : :with) template = send("transform_#{transformer}_content", template, klass) end template end