class Jekyll::RenderIntroBlock

Public Class Methods

new(tag_name, text, tokens) click to toggle source
Calls superclass method
# File lib/MPIWG-Jekyll-Plugin/tag.rb, line 4
def initialize(tag_name, text, tokens)
  super
  @text = text
end

Public Instance Methods

render(context) click to toggle source
# File lib/MPIWG-Jekyll-Plugin/tag.rb, line 10
def render(context)
  "<p class='intro'>#{ @text }</p>"
end