Class: MarkdownUI::FooterTag
- Inherits:
-
Shared::TagKlass
- Object
- Shared::TagKlass
- MarkdownUI::FooterTag
- Defined in:
- lib/markdown-ui/tag/footer_tag.rb
Instance Method Summary collapse
-
#initialize(_content, _klass = nil, __id = nil, _data = nil) ⇒ FooterTag
constructor
A new instance of FooterTag.
- #render ⇒ Object
Constructor Details
#initialize(_content, _klass = nil, __id = nil, _data = nil) ⇒ FooterTag
Returns a new instance of FooterTag.
3 4 5 6 7 8 |
# File 'lib/markdown-ui/tag/footer_tag.rb', line 3 def initialize(_content, _klass = nil, __id = nil, _data = nil) @klass = _klass @content = _content @data = _data @id = __id end |
Instance Method Details
#render ⇒ Object
10 11 12 |
# File 'lib/markdown-ui/tag/footer_tag.rb', line 10 def render "<footer#{_id}#{klass}#{data}>#{content}</footer>" end |