Sha256: 6a8f0f22dd687bccb7069ec8b558248a02d537c57f551ec4b9117205a949362a

Contents?: true

Size: 686 Bytes

Versions: 2

Compression:

Stored size: 686 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.old_config
      Pathname(Dir.home).join('.jph', 'config')
    end
    def self.config
      Pathname(Dir.home).join('.shrc', 'config')
    end

    def self.logs
      Pathname(Dir.home).join('.shrc', 'logs')
    end
    def self.lib_dir
      Pathname(::Gem.user_dir).join('gems', "site_hook-#{SiteHook::VERSION}", 'lib')
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
site_hook-0.8.2 lib/site_hook/paths.rb
site_hook-0.8.1 lib/site_hook/paths.rb