Sha256: a8d88755790b26ff6ae159f71249b8d40c01b235d0eed0877fabc3d498f78b53

Contents?: true

Size: 388 Bytes

Versions: 17

Compression:

Stored size: 388 Bytes

Contents

class CmsTag::PageRichText < CmsBlock
  
  include CmsTag
  
  def self.regex_tag_signature(label = nil)
    label ||= /[\w\-]+/
    /\{\{\s*cms:page:(#{label}):rich_text\s*\}\}/
  end
  
  def regex_tag_signature
    self.class.regex_tag_signature(label)
  end
  
  def content=(value)
    write_attribute(:content, value)
  end
  
  def content
    read_attribute(:content)
  end
  
end

Version data entries

17 entries across 17 versions & 2 rubygems

Version Path
lucy_cms-0.0.3 lib/LucyCMS/cms_tag/page_rich_text.rb
lucy_cms-0.0.2 lib/LucyCMS/cms_tag/page_rich_text.rb
lucy_cms-0.0.1 lib/LucyCMS/cms_tag/page_rich_text.rb
comfortable_mexican_sofa-1.0.46 lib/comfortable_mexican_sofa/cms_tag/page_rich_text.rb
comfortable_mexican_sofa-1.0.45 lib/comfortable_mexican_sofa/cms_tag/page_rich_text.rb
comfortable_mexican_sofa-1.0.44 lib/comfortable_mexican_sofa/cms_tag/page_rich_text.rb
comfortable_mexican_sofa-1.0.43 lib/comfortable_mexican_sofa/cms_tag/page_rich_text.rb
comfortable_mexican_sofa-1.0.42 lib/comfortable_mexican_sofa/cms_tag/page_rich_text.rb
comfortable_mexican_sofa-1.0.41 lib/comfortable_mexican_sofa/cms_tag/page_rich_text.rb
comfortable_mexican_sofa-1.0.40 lib/comfortable_mexican_sofa/cms_tag/page_rich_text.rb
comfortable_mexican_sofa-1.0.39 lib/comfortable_mexican_sofa/cms_tag/page_rich_text.rb
comfortable_mexican_sofa-1.0.38 lib/comfortable_mexican_sofa/cms_tag/page_rich_text.rb
comfortable_mexican_sofa-1.0.37 lib/comfortable_mexican_sofa/cms_tag/page_rich_text.rb
comfortable_mexican_sofa-1.0.36 lib/comfortable_mexican_sofa/cms_tag/page_rich_text.rb
comfortable_mexican_sofa-1.0.35 lib/comfortable_mexican_sofa/cms_tag/page_rich_text.rb
comfortable_mexican_sofa-1.0.34 lib/comfortable_mexican_sofa/cms_tag/page_rich_text.rb
comfortable_mexican_sofa-1.0.33 lib/comfortable_mexican_sofa/cms_tag/page_rich_text.rb