Sha256: f8561b1034bbba29d2704200becd2c0247f288fbd86664107d447508c7f1c625

Contents?: true

Size: 270 Bytes

Versions: 24

Compression:

Stored size: 270 Bytes

Contents

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

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
comfortable_mexican_sofa-1.6.3 lib/comfortable_mexican_sofa/tags/page_string.rb
comfortable_mexican_sofa-1.6.2 lib/comfortable_mexican_sofa/tags/page_string.rb
comfortable_mexican_sofa-1.6.1 lib/comfortable_mexican_sofa/tags/page_string.rb
comfortable_mexican_sofa-1.6.0 lib/comfortable_mexican_sofa/tags/page_string.rb