Module: JekyllRecker::Graphs::Base

Included in:
Swears, WordCount
Defined in:
lib/jekyll_recker/graphs.rb

Overview

Base Graph

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#siteObject (readonly)

Returns the value of attribute site.



16
17
18
# File 'lib/jekyll_recker/graphs.rb', line 16

def site
  @site
end

Instance Method Details

#graphs_join(path) ⇒ Object



18
19
20
# File 'lib/jekyll_recker/graphs.rb', line 18

def graphs_join(path)
  File.join Bundler.root, @graphs_dir, path
end