Sha256: 90cbe7ba62f423e68deb7ae58b2b9386027c380223aab121b3ec8f47657b6114
Contents?: true
Size: 383 Bytes
Versions: 17
Compression:
Stored size: 383 Bytes
Contents
class CmsTag::PageString < CmsBlock include CmsTag def self.regex_tag_signature(label = nil) label ||= /[\w\-]+/ /\{\{\s*cms:page:(#{label}):string\s*\}\}/ end def regex_tag_signature self.class.regex_tag_signature(label) end def content=(value) write_attribute(:content, value) end def content read_attribute(:content) end end
Version data entries
17 entries across 17 versions & 2 rubygems