class Jekyll::PoolePlugin::Tags
Adding in our class tags.
Public Class Methods
new(_tag_name, text, _tokens)
click to toggle source
# File lib/poole/tags.rb, line 17 def initialize(_tag_name, text, _tokens) text = text.strip @text = text.empty? ? 'all' : text end
Public Instance Methods
render(context)
click to toggle source
# File lib/poole/tags.rb, line 22 def render(context) Renderer.new(context, @markup).public_send :"render_#{@text}"\ end