Sha256: f584cab8785972a18a326186e679ec5dd785a320dd9c56ff7c1477108f3d196b

Contents?: true

Size: 314 Bytes

Versions: 43

Compression:

Stored size: 314 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=(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_integer.rb
comfortable_mexican_sofa-1.4.1 lib/comfortable_mexican_sofa/tags/page_integer.rb
comfortable_mexican_sofa-1.4.0 lib/comfortable_mexican_sofa/tags/page_integer.rb
comfortable_mexican_sofa-1.3.8 lib/comfortable_mexican_sofa/tags/page_integer.rb
comfortable_mexican_sofa-1.3.7 lib/comfortable_mexican_sofa/tags/page_integer.rb
comfortable_mexican_sofa-1.3.6 lib/comfortable_mexican_sofa/tags/page_integer.rb
comfortable_mexican_sofa-1.3.5 lib/comfortable_mexican_sofa/tags/page_integer.rb
comfortable_mexican_sofa-1.3.4 lib/comfortable_mexican_sofa/tags/page_integer.rb
comfortable_mexican_sofa-1.3.3 lib/comfortable_mexican_sofa/tags/page_integer.rb
comfortable_mexican_sofa-1.3.2 lib/comfortable_mexican_sofa/tags/page_integer.rb
comfortable_mexican_sofa-1.3.1 lib/comfortable_mexican_sofa/tags/page_integer.rb
comfortable_mexican_sofa-1.3.0 lib/comfortable_mexican_sofa/tags/page_integer.rb
comfortable_mexican_sofa-1.2.8 lib/comfortable_mexican_sofa/tags/page_integer.rb
comfortable_mexican_sofa-1.2.7 lib/comfortable_mexican_sofa/tags/page_integer.rb
comfortable_mexican_sofa-1.2.6 lib/comfortable_mexican_sofa/tags/page_integer.rb
comfortable_mexican_sofa-1.2.5 lib/comfortable_mexican_sofa/tags/page_integer.rb
comfortable_mexican_sofa-1.2.4 lib/comfortable_mexican_sofa/tags/page_integer.rb
comfortable_mexican_sofa-1.2.3 lib/comfortable_mexican_sofa/tags/page_integer.rb
comfortable_mexican_sofa-1.2.2 lib/comfortable_mexican_sofa/tags/page_integer.rb
comfortable_mexican_sofa-1.2.1 lib/comfortable_mexican_sofa/tags/page_integer.rb