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

Version Path
site_hook-0.8.0 lib/site_hook/paths.rb
site_hook-0.7.0 lib/site_hook/paths.rb
site_hook-0.6.23 lib/site_hook/paths.rb
site_hook-0.6.22 lib/site_hook/paths.rb
site_hook-0.6.21 lib/site_hook/paths.rb
site_hook-0.6.19 lib/site_hook/paths.rb
site_hook-0.6.18 lib/site_hook/paths.rb
site_hook-0.6.17 lib/site_hook/paths.rb
site_hook-0.6.16 lib/site_hook/paths.rb
site_hook-0.6.15 lib/site_hook/paths.rb
site_hook-0.6.14 lib/site_hook/paths.rb