Sha256: 06b29d5b383064644489e43c258d1be9b8593112fe7e6da904feecd064841676

Contents?: true

Size: 312 Bytes

Versions: 43

Compression:

Stored size: 312 Bytes

Contents

class ComfortableMexicanSofa::Tag::PageString
  include ComfortableMexicanSofa::Tag
  
  def self.regex_tag_signature(label = nil)
    label ||= /[\w\-]+/
    /\{\{\s*cms:page:(#{label}):string\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.4.2 lib/comfortable_mexican_sofa/tags/page_string.rb
comfortable_mexican_sofa-1.4.1 lib/comfortable_mexican_sofa/tags/page_string.rb
comfortable_mexican_sofa-1.4.0 lib/comfortable_mexican_sofa/tags/page_string.rb
comfortable_mexican_sofa-1.3.8 lib/comfortable_mexican_sofa/tags/page_string.rb
comfortable_mexican_sofa-1.3.7 lib/comfortable_mexican_sofa/tags/page_string.rb
comfortable_mexican_sofa-1.3.6 lib/comfortable_mexican_sofa/tags/page_string.rb
comfortable_mexican_sofa-1.3.5 lib/comfortable_mexican_sofa/tags/page_string.rb
comfortable_mexican_sofa-1.3.4 lib/comfortable_mexican_sofa/tags/page_string.rb
comfortable_mexican_sofa-1.3.3 lib/comfortable_mexican_sofa/tags/page_string.rb
comfortable_mexican_sofa-1.3.2 lib/comfortable_mexican_sofa/tags/page_string.rb
comfortable_mexican_sofa-1.3.1 lib/comfortable_mexican_sofa/tags/page_string.rb
comfortable_mexican_sofa-1.3.0 lib/comfortable_mexican_sofa/tags/page_string.rb
comfortable_mexican_sofa-1.2.8 lib/comfortable_mexican_sofa/tags/page_string.rb
comfortable_mexican_sofa-1.2.7 lib/comfortable_mexican_sofa/tags/page_string.rb
comfortable_mexican_sofa-1.2.6 lib/comfortable_mexican_sofa/tags/page_string.rb
comfortable_mexican_sofa-1.2.5 lib/comfortable_mexican_sofa/tags/page_string.rb
comfortable_mexican_sofa-1.2.4 lib/comfortable_mexican_sofa/tags/page_string.rb
comfortable_mexican_sofa-1.2.3 lib/comfortable_mexican_sofa/tags/page_string.rb
comfortable_mexican_sofa-1.2.2 lib/comfortable_mexican_sofa/tags/page_string.rb
comfortable_mexican_sofa-1.2.1 lib/comfortable_mexican_sofa/tags/page_string.rb