Module: WayOfWorking::For::Hdi
- Defined in:
- lib/way_of_working/for/hdi/paths.rb,
lib/way_of_working/for/hdi.rb,
lib/way_of_working/for/hdi/plugin.rb,
lib/way_of_working/for/hdi/version.rb
Overview
Mixin that provides a couple of pathname convenience methods
Defined Under Namespace
Modules: Plugin Classes: Error
Constant Summary collapse
- VERSION =
'1.0.0'
Class Method Summary collapse
Class Method Details
.root ⇒ Object
10 11 12 |
# File 'lib/way_of_working/for/hdi/paths.rb', line 10 def root Pathname.new(File.('../../../..', __dir__)) end |
.source_root ⇒ Object
14 15 16 |
# File 'lib/way_of_working/for/hdi/paths.rb', line 14 def source_root root.join('lib', 'way_of_working', 'for', 'hdi', 'templates') end |