Class: ComfortableMexicanSofa::Tag::PageInteger
- Inherits:
-
Object
- Object
- ComfortableMexicanSofa::Tag::PageInteger
- Includes:
- ComfortableMexicanSofa::Tag
- Defined in:
- lib/comfortable_mexican_sofa/tags/page_integer.rb
Constant Summary
Constants included from ComfortableMexicanSofa::Tag
IDENTIFIER_REGEX, TOKENIZER_REGEX
Instance Attribute Summary
Attributes included from ComfortableMexicanSofa::Tag
#blockable, #identifier, #namespace, #params, #parent
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.regex_tag_signature(identifier = nil) ⇒ Object
4 5 6 7 |
# File 'lib/comfortable_mexican_sofa/tags/page_integer.rb', line 4 def self.regex_tag_signature(identifier = nil) identifier ||= IDENTIFIER_REGEX /\{\{\s*cms:page:(#{identifier}):integer\s*\}\}/ end |
Instance Method Details
#content ⇒ Object
9 10 11 |
# File 'lib/comfortable_mexican_sofa/tags/page_integer.rb', line 9 def content block.content end |