class Git::Log
Git::Log parses output passed from Git#log and creates a hash with author as a key and email as value
Public Class Methods
new(log)
click to toggle source
We are expecting output from “git log” command
# File lib/jekyll-git-authors/git.rb, line 5 def initialize(log) @log = log end
Public Instance Methods
to_s()
click to toggle source
To ensure log will be text when we want
# File lib/jekyll-git-authors/git.rb, line 27 def to_s @log end