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