Module: Goodcheck::HomePath

Included in:
Commands::Check, Commands::Pattern, Commands::Test
Defined in:
lib/goodcheck/home_path.rb

Instance Method Summary collapse

Instance Method Details

#cache_dir_pathObject



3
4
5
6
7
# File 'lib/goodcheck/home_path.rb', line 3

def cache_dir_path
  @cache_dir_path ||= (home_path + "cache").tap do |path|
    path.mkpath unless path.directory?
  end
end