Sha256: 70aabc1230d57fa324eecbd569aa24de1e09caced48b0b95b44fdbef37aa6fb1
Contents?: true
Size: 427 Bytes
Versions: 9
Compression:
Stored size: 427 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 regex_tag_signature self.class.regex_tag_signature(label) end def content=(value) write_attribute(:content_string, value) end def content read_attribute(:content_string) end def render '' end end
Version data entries
9 entries across 9 versions & 1 rubygems