Sha256: 19032796b151137bb2cd04eab81feb9ad623a0cf445c37bf95809bde3ed9b813

Contents?: true

Size: 257 Bytes

Versions: 12

Compression:

Stored size: 257 Bytes

Contents

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

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
comfortable_mexican_sofa-1.5.11 lib/comfortable_mexican_sofa/tags/page_integer.rb
comfortable_mexican_sofa-1.5.10 lib/comfortable_mexican_sofa/tags/page_integer.rb
comfortable_mexican_sofa-1.5.9 lib/comfortable_mexican_sofa/tags/page_integer.rb
comfortable_mexican_sofa-1.5.8 lib/comfortable_mexican_sofa/tags/page_integer.rb
comfortable_mexican_sofa-1.5.7 lib/comfortable_mexican_sofa/tags/page_integer.rb
comfortable_mexican_sofa-1.5.6 lib/comfortable_mexican_sofa/tags/page_integer.rb
comfortable_mexican_sofa-1.5.5 lib/comfortable_mexican_sofa/tags/page_integer.rb
comfortable_mexican_sofa-1.5.4 lib/comfortable_mexican_sofa/tags/page_integer.rb
comfortable_mexican_sofa-1.5.3 lib/comfortable_mexican_sofa/tags/page_integer.rb
comfortable_mexican_sofa-1.5.2 lib/comfortable_mexican_sofa/tags/page_integer.rb
comfortable_mexican_sofa-1.5.1 lib/comfortable_mexican_sofa/tags/page_integer.rb
comfortable_mexican_sofa-1.5.0 lib/comfortable_mexican_sofa/tags/page_integer.rb