Sha256: 920b4d80312cba067f038c55c99b94f50ed04198180625b30f86b8ea4c4143e2

Contents?: true

Size: 191 Bytes

Versions: 31

Compression:

Stored size: 191 Bytes

Contents

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

Version data entries

31 entries across 31 versions & 1 rubygems

Version Path
goodcheck-2.2.0 lib/goodcheck/home_path.rb
goodcheck-2.1.2 lib/goodcheck/home_path.rb
goodcheck-2.1.1 lib/goodcheck/home_path.rb
goodcheck-2.1.0 lib/goodcheck/home_path.rb
goodcheck-1.7.1 lib/goodcheck/home_path.rb
goodcheck-1.7.0 lib/goodcheck/home_path.rb
goodcheck-1.6.0 lib/goodcheck/home_path.rb
goodcheck-1.5.1 lib/goodcheck/home_path.rb
goodcheck-1.5.0 lib/goodcheck/home_path.rb
goodcheck-1.4.1 lib/goodcheck/home_path.rb
goodcheck-1.4.0 lib/goodcheck/home_path.rb