Sha256: eaf99ea88c4c38ae6351e55494930f1c82c2bbd817b17dd43a24cfa0effea174
Contents?: true
Size: 321 Bytes
Versions: 12
Compression:
Stored size: 321 Bytes
Contents
class ComfortableMexicanSofa::Tag::Helper include ComfortableMexicanSofa::Tag def self.regex_tag_signature(identifier = nil) identifier ||= /[\w\-]+/ /\{\{\s*cms:helper:(#{identifier}):?(.*?)\s*\}\}/ end def content "<%= #{identifier}(#{params.collect{|p| "'#{p}'"}.join(', ')}) %>" end end
Version data entries
12 entries across 12 versions & 1 rubygems