Class: JekyllRecker::Generators::Git
- Inherits:
-
Jekyll::Generator
- Object
- Jekyll::Generator
- JekyllRecker::Generators::Git
- Includes:
- Base
- Defined in:
- lib/jekyll_recker/generators.rb
Overview
Git Generator
Instance Attribute Summary
Attributes included from Base
Instance Method Summary collapse
Methods included from Base
#data_file_target, #generate, #name
Methods included from Math
Methods included from Logging
Methods included from Date
#calculate_streaks, #slice_by_consecutive, #time_to_date
Instance Method Details
#crunch ⇒ Object
85 86 87 88 89 |
# File 'lib/jekyll_recker/generators.rb', line 85 def crunch { 'commit_count' => Shell.run('git rev-list --count master').chomp } end |