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-4.17.7 lib/inspec/globals.rb
inspec-core-4.16.0 lib/inspec/globals.rb
inspec-4.16.0 lib/inspec/globals.rb
inspec-core-4.12.0 lib/inspec/globals.rb
inspec-4.12.0 lib/inspec/globals.rb
inspec-core-4.10.4 lib/inspec/globals.rb
inspec-4.10.4 lib/inspec/globals.rb
inspec-core-4.7.24 lib/inspec/globals.rb
inspec-4.7.24 lib/inspec/globals.rb
inspec-core-4.7.18 lib/inspec/globals.rb
inspec-4.7.18 lib/inspec/globals.rb
inspec-core-4.7.3 lib/inspec/globals.rb
inspec-4.7.3 lib/inspec/globals.rb
inspec-core-4.6.9 lib/inspec/globals.rb
inspec-4.6.9 lib/inspec/globals.rb
inspec-core-4.6.4 lib/inspec/globals.rb
inspec-4.6.4 lib/inspec/globals.rb
inspec-core-4.6.3 lib/inspec/globals.rb
inspec-4.6.3 lib/inspec/globals.rb