Sha256: 6825254d3340b9488cf86344a3616a91ddc3ffc9f035fba116c1edccab79a657
Contents?: true
Size: 604 Bytes
Versions: 11
Compression:
Stored size: 604 Bytes
Contents
########## # -> File: /home/ken/RubymineProjects/site_hook/lib/site_hook/paths.rb # -> Project: site_hook # -> Author: Ken Spencer <me@iotaspencer.me> # -> Last Modified: 1/10/2018 21:23:00 # -> Copyright (c) 2018 Ken Spencer # -> License: MIT ########## module SiteHook # Paths: Paths to gem resources and things class Paths def self.config Pathname(Dir.home).join('.jph', 'config') end def self.logs Pathname(Dir.home).join('.jph', 'logs') end def self.lib_dir Pathname(::Gem.user_dir).join('gems', "site_hook-#{SiteHook::VERSION}", 'lib') end end end
Version data entries
11 entries across 11 versions & 1 rubygems