Sha256: 4c271b671b2d4ea5b4a3c03eaf71aa1c3a921772210b62ed0b12f8850134fa07

Contents?: true

Size: 288 Bytes

Versions: 12

Compression:

Stored size: 288 Bytes

Contents

class ComfortableMexicanSofa::Tag::FieldInteger
  include ComfortableMexicanSofa::Tag
  
  def self.regex_tag_signature(label = nil)
    label ||= /[\w\-]+/
    /\{\{\s*cms:field:(#{label}):integer\s*\}\}/
  end
  
  def content
    block.content
  end
  
  def render
    ''
  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/field_integer.rb
comfortable_mexican_sofa-1.5.10 lib/comfortable_mexican_sofa/tags/field_integer.rb
comfortable_mexican_sofa-1.5.9 lib/comfortable_mexican_sofa/tags/field_integer.rb
comfortable_mexican_sofa-1.5.8 lib/comfortable_mexican_sofa/tags/field_integer.rb
comfortable_mexican_sofa-1.5.7 lib/comfortable_mexican_sofa/tags/field_integer.rb
comfortable_mexican_sofa-1.5.6 lib/comfortable_mexican_sofa/tags/field_integer.rb
comfortable_mexican_sofa-1.5.5 lib/comfortable_mexican_sofa/tags/field_integer.rb
comfortable_mexican_sofa-1.5.4 lib/comfortable_mexican_sofa/tags/field_integer.rb
comfortable_mexican_sofa-1.5.3 lib/comfortable_mexican_sofa/tags/field_integer.rb
comfortable_mexican_sofa-1.5.2 lib/comfortable_mexican_sofa/tags/field_integer.rb
comfortable_mexican_sofa-1.5.1 lib/comfortable_mexican_sofa/tags/field_integer.rb
comfortable_mexican_sofa-1.5.0 lib/comfortable_mexican_sofa/tags/field_integer.rb