Mixin that provides a couple of pathname convenience methods
9 10 11
# File 'lib/way_of_working/paths.rb', line 9 def root Pathname.new(File.expand_path('../..', __dir__)) end
13 14 15
# File 'lib/way_of_working/paths.rb', line 13 def source_root root.join('lib', 'way_of_working', 'templates') end