Sha256: 768a51bbaf23d10112950a13ae6bf163a54527f319079f873cb929978d718f02

Contents?: true

Size: 308 Bytes

Versions: 8

Compression:

Stored size: 308 Bytes

Contents

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

Version data entries

8 entries across 8 versions & 2 rubygems

Version Path
comfortable_mexican_sofa-1.0.51 lib/comfortable_mexican_sofa/cms_tag/page_integer.rb
comfortable_mexican_sofa-1.0.50 lib/comfortable_mexican_sofa/cms_tag/page_integer.rb
comfortable_mexican_sofa-1.0.49 lib/comfortable_mexican_sofa/cms_tag/page_integer.rb
comfortable_mexican_sofa-1.0.48 lib/comfortable_mexican_sofa/cms_tag/page_integer.rb
lucy_cms-0.0.6 lib/LucyCMS/cms_tag/page_integer.rb
lucy_cms-0.0.5 lib/LucyCMS/cms_tag/page_integer.rb
lucy_cms-0.0.4 lib/LucyCMS/cms_tag/page_integer.rb
comfortable_mexican_sofa-1.0.47 lib/comfortable_mexican_sofa/cms_tag/page_integer.rb