Class: Paths
- Inherits:
-
Object
- Object
- Paths
- Defined in:
- lib/support/helpers.rb
Constant Summary collapse
- SOURCE_DIR =
Pathname.new(Dir.pwd)
Class Method Summary collapse
-
.jekyll_bin ⇒ Object
NOTE: I’m not sure how to reuse this code…
- .output_file ⇒ Object
- .source_dir ⇒ Object
- .status_file ⇒ Object
-
.test_dir ⇒ Object
NOTE: I’m not sure how to reuse this code…
- .theme_gem_dir ⇒ Object
Class Method Details
.jekyll_bin ⇒ Object
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_file ⇒ Object
14 |
# File 'lib/support/helpers.rb', line 14 def self.output_file; source_dir.join("jekyll_output.txt"); end |
.source_dir ⇒ Object
21 |
# File 'lib/support/helpers.rb', line 21 def self.source_dir; SOURCE_DIR; end |
.status_file ⇒ Object
16 |
# File 'lib/support/helpers.rb', line 16 def self.status_file; source_dir.join("jekyll_status.txt"); end |
.test_dir ⇒ Object
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_dir ⇒ Object
12 |
# File 'lib/support/helpers.rb', line 12 def self.theme_gem_dir; 'NOT SUPPORTED!'; end |