Sha256: ffd11457669a427c907b4792ba7726a81cfe27097adc27e8cec480fe038580a5
Contents?: true
Size: 689 Bytes
Versions: 2
Compression:
Stored size: 689 Bytes
Contents
########## # -> File: /home/ken/RubymineProjects/site_hook/lib/site_hook/debug_class.rb # -> Project: site_hook # -> Author: Ken Spencer <me@iotaspencer.me> # -> Last Modified: 6/10/2018 13:14:51 # -> Copyright (c) 2018 Ken Spencer # -> License: MIT ########## require 'gli' module SiteHook class FileExistsError < StandardError end # *DebugClass* # # Holds all of the commands for the debug subcommand class App extend GLI::App desc "Return current paths for running site_hook" def paths home_gem_path = ENV['GEM_HOME'] puts home_gem_path puts Pathname(::Gem.default_path.first).join('lib', 'site_hook') # puts .exist? end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
site_hook-0.8.2 | lib/site_hook/commands/debug_class.rb |
site_hook-0.8.1 | lib/site_hook/commands/debug_class.rb |