Sha256: 3e08b4a10a069cbc32cdd419d9dc5f2ff19c738b3ab8d239cd097b9c5929b94d

Contents?: true

Size: 222 Bytes

Versions: 39

Compression:

Stored size: 222 Bytes

Contents

module Inspec
  def self.config_dir
    ENV["INSPEC_CONFIG_DIR"] ? ENV["INSPEC_CONFIG_DIR"] : File.join(Dir.home, ".inspec")
  end

  def self.src_root
    File.expand_path(File.join(__FILE__, "..", "..", ".."))
  end
end

Version data entries

39 entries across 39 versions & 2 rubygems

Version Path
inspec-core-4.18.85 lib/inspec/globals.rb
inspec-core-4.18.51 lib/inspec/globals.rb
inspec-4.18.51 lib/inspec/globals.rb
inspec-core-4.18.39 lib/inspec/globals.rb
inspec-4.18.39 lib/inspec/globals.rb
inspec-core-4.18.38 lib/inspec/globals.rb
inspec-4.18.38 lib/inspec/globals.rb
inspec-core-4.18.24 lib/inspec/globals.rb
inspec-4.18.24 lib/inspec/globals.rb
inspec-core-4.18.0 lib/inspec/globals.rb
inspec-4.18.0 lib/inspec/globals.rb
inspec-core-4.17.17 lib/inspec/globals.rb
inspec-4.17.17 lib/inspec/globals.rb
inspec-core-4.17.15 lib/inspec/globals.rb
inspec-4.17.15 lib/inspec/globals.rb
inspec-core-4.17.14 lib/inspec/globals.rb
inspec-4.17.14 lib/inspec/globals.rb
inspec-core-4.17.11 lib/inspec/globals.rb
inspec-4.17.11 lib/inspec/globals.rb
inspec-core-4.17.7 lib/inspec/globals.rb