class Jekyll::GitAuthorAllTag
Public Class Methods
new(tag_name, text, tokens)
click to toggle source
Calls superclass method
# File lib/jekyll-gitauthors.rb, line 19 def initialize(tag_name, text, tokens) super @text = text end
Public Instance Methods
lookup(context, name)
click to toggle source
# File lib/jekyll-gitauthors.rb, line 24 def lookup(context, name) lookup = context name.split(".").each { |value| lookup = lookup[value] } lookup end
render(context)
click to toggle source
# File lib/jekyll-gitauthors.rb, line 30 def render(context) `git log --pretty=format:"%an," . | sort | uniq` end