Sha256: 504e3084a2627f7c39646a82acf0648887568b08f0aa59b3906a6dd4304b1dc8

Contents?: true

Size: 412 Bytes

Versions: 15

Compression:

Stored size: 412 Bytes

Contents

class CmsTag::FieldInteger < CmsBlock
  
  include CmsTag
  
  def self.regex_tag_signature(label = nil)
    label ||= /\w+/
    /\{\{\s*cms:field:(#{label}):integer\s*\}\}/
  end
  
  def regex_tag_signature
    self.class.regex_tag_signature(label)
  end
  
  def content=(value)
    write_attribute(:content, value)
  end
  
  def content
    read_attribute(:content)
  end
  
  def render
    ''
  end
  
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
comfortable_mexican_sofa-1.0.32 lib/comfortable_mexican_sofa/cms_tag/field_integer.rb
comfortable_mexican_sofa-1.0.31 lib/comfortable_mexican_sofa/cms_tag/field_integer.rb
comfortable_mexican_sofa-1.0.30 lib/comfortable_mexican_sofa/cms_tag/field_integer.rb
comfortable_mexican_sofa-1.0.29 lib/comfortable_mexican_sofa/cms_tag/field_integer.rb
comfortable_mexican_sofa-1.0.28 lib/comfortable_mexican_sofa/cms_tag/field_integer.rb
comfortable_mexican_sofa-1.0.27 lib/comfortable_mexican_sofa/cms_tag/field_integer.rb
comfortable_mexican_sofa-1.0.26 lib/comfortable_mexican_sofa/cms_tag/field_integer.rb
comfortable_mexican_sofa-1.0.25 lib/comfortable_mexican_sofa/cms_tag/field_integer.rb
comfortable_mexican_sofa-1.0.24 lib/comfortable_mexican_sofa/cms_tag/field_integer.rb
comfortable_mexican_sofa-1.0.23 lib/comfortable_mexican_sofa/cms_tag/field_integer.rb
comfortable_mexican_sofa-1.0.22 lib/comfortable_mexican_sofa/cms_tag/field_integer.rb
comfortable_mexican_sofa-1.0.21 lib/comfortable_mexican_sofa/cms_tag/field_integer.rb
comfortable_mexican_sofa-1.0.20 lib/comfortable_mexican_sofa/cms_tag/field_integer.rb
comfortable_mexican_sofa-1.0.19 lib/comfortable_mexican_sofa/cms_tag/field_integer.rb
comfortable_mexican_sofa-1.0.18 lib/comfortable_mexican_sofa/cms_tag/field_integer.rb