Sha256: 68b0a731d3d8120ed70505a580c1cbaa77f067a2b1ae9dba39691a674967a72c
Contents?: true
Size: 388 Bytes
Versions: 9
Compression:
Stored size: 388 Bytes
Contents
class CmsTag::PageText < CmsBlock include CmsTag def self.regex_tag_signature(label = nil) label ||= /\w+/ /<\s*cms:page:(#{label}):?(?:text)?\s*\/?>/ end def regex_tag_signature self.class.regex_tag_signature(label) end def content=(value) write_attribute(:content_text, value) end def content read_attribute(:content_text) end end
Version data entries
9 entries across 9 versions & 1 rubygems