Sha256: 5060e808fa1baae6b321b36c5f874d517ab59672b0785c2ab7caae02c2984335

Contents?: true

Size: 698 Bytes

Versions: 11

Compression:

Stored size: 698 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 'thor'

module SiteHook
  class FileExistsError < Exception
  end

  # *DebugClass*
  #
  # Holds all of the commands for the config subcommand
  class DebugClass < Thor

    desc 'paths [options]', "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

11 entries across 11 versions & 1 rubygems

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