Sha256: 86e631ac3f1abd8f4c5ab2d57cc364885382febd7bffe28d2fa8f9845f09c13a
Contents?: true
Size: 308 Bytes
Versions: 2
Compression:
Stored size: 308 Bytes
Contents
class CmsTag::Snippet < CmsSnippet include CmsTag def self.regex_tag_signature(label = nil) label ||= /\w+/ /<\s*cms:snippet:(#{label})\s*\/?>/ end def regex_tag_signature self.class.regex_tag_signature(label) end def content self.read_attribute(:content) end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
comfortable_mexican_sofa-1.0.1 | lib/comfortable_mexican_sofa/cms_tag/snippet.rb |
comfortable_mexican_sofa-1.0.0 | lib/comfortable_mexican_sofa/cms_tag/snippet.rb |