Module: JekyllRecker::Graphs

Included in:
JekyllRecker::Generators::Stats
Defined in:
lib/jekyll_recker/graphs.rb

Overview

Graphs module

Defined Under Namespace

Classes: Swears, WordCount

Instance Method Summary collapse

Instance Method Details

#generate_graphs(posts, swears, graphs_dir) ⇒ Object



8
9
10
11
# File 'lib/jekyll_recker/graphs.rb', line 8

def generate_graphs(posts, swears, graphs_dir)
  WordCount.new(posts, graphs_dir).write
  Swears.new(swears, graphs_dir).write
end