Sha256: 7e99b464acd4e77880177a8ada80d06f743d75e2c6740e5d6e29e07f8f753a26
Contents?: true
Size: 421 Bytes
Versions: 9
Compression:
Stored size: 421 Bytes
Contents
class CmsTag::FieldDateTime < CmsBlock include CmsTag def self.regex_tag_signature(label = nil) label ||= /\w+/ /<\s*cms:field:(#{label}):datetime\s*\/?>/ end def regex_tag_signature self.class.regex_tag_signature(label) end def content=(value) write_attribute(:content_datetime, value) end def content read_attribute(:content_datetime) end def render '' end end
Version data entries
9 entries across 9 versions & 1 rubygems