Sha256: fb829d2ce26220962c80707bd101c706bb15468555b14268181f70c63a6f6d5b

Contents?: true

Size: 317 Bytes

Versions: 43

Compression:

Stored size: 317 Bytes

Contents

class ComfortableMexicanSofa::Tag::PageRichText
  include ComfortableMexicanSofa::Tag
  
  def self.regex_tag_signature(label = nil)
    label ||= /[\w\-]+/
    /\{\{\s*cms:page:(#{label}):rich_text\s*\}\}/
  end
  
  def content=(value)
    block.content = value
  end
  
  def content
    block.content
  end
  
end

Version data entries

43 entries across 43 versions & 1 rubygems

Version Path
comfortable_mexican_sofa-1.2.0 lib/comfortable_mexican_sofa/tags/page_rich_text.rb
comfortable_mexican_sofa-1.1.2 lib/comfortable_mexican_sofa/tags/page_rich_text.rb
comfortable_mexican_sofa-1.1.1 lib/comfortable_mexican_sofa/tags/page_rich_text.rb