Class: Paths

Inherits:
Object
  • Object
show all
Defined in:
lib/support/helpers.rb

Constant Summary collapse

SOURCE_DIR =
Pathname.new(Dir.pwd)

Class Method Summary collapse

Class Method Details

.jekyll_binObject

NOTE: I’m not sure how to reuse this code… therefore raise if someone calls it.



19
# File 'lib/support/helpers.rb', line 19

def self.jekyll_bin; raise 'NOT SUPPORTED!'; end

.output_fileObject



14
# File 'lib/support/helpers.rb', line 14

def self.output_file; source_dir.join("jekyll_output.txt"); end

.source_dirObject



21
# File 'lib/support/helpers.rb', line 21

def self.source_dir; SOURCE_DIR; end

.status_fileObject



16
# File 'lib/support/helpers.rb', line 16

def self.status_file; source_dir.join("jekyll_status.txt"); end

.test_dirObject

NOTE: I’m not sure how to reuse this code… therefore raise if someone calls it.



10
# File 'lib/support/helpers.rb', line 10

def self.test_dir; raise 'NOT SUPPORTED!' ; end

.theme_gem_dirObject



12
# File 'lib/support/helpers.rb', line 12

def self.theme_gem_dir; 'NOT SUPPORTED!'; end