Sha256: 06076630aa7b253795fb403c9b3010df334eea30471dd921a790b880be8dc220
Contents?: true
Size: 343 Bytes
Versions: 8
Compression:
Stored size: 343 Bytes
Contents
class CmsTag::FieldString < CmsBlock include CmsTag def self.regex_tag_signature(label = nil) label ||= /[\w\-]+/ /\{\{\s*cms:field:(#{label}):?(?:string)?\s*\}\}/ end def content=(value) write_attribute(:content, value) end def content read_attribute(:content) end def render '' end end
Version data entries
8 entries across 8 versions & 2 rubygems