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-3.1.0 lib/goodcheck/home_path.rb
goodcheck-3.0.3 lib/goodcheck/home_path.rb
goodcheck-3.0.2 lib/goodcheck/home_path.rb
goodcheck-3.0.1 lib/goodcheck/home_path.rb
goodcheck-3.0.0 lib/goodcheck/home_path.rb
goodcheck-2.7.0 lib/goodcheck/home_path.rb
goodcheck-2.6.1 lib/goodcheck/home_path.rb
goodcheck-2.6.0 lib/goodcheck/home_path.rb
goodcheck-2.5.2 lib/goodcheck/home_path.rb
goodcheck-2.5.1 lib/goodcheck/home_path.rb
goodcheck-2.5.0 lib/goodcheck/home_path.rb
goodcheck-2.4.5 lib/goodcheck/home_path.rb
goodcheck-2.4.4 lib/goodcheck/home_path.rb
goodcheck-2.4.3 lib/goodcheck/home_path.rb
goodcheck-2.4.2 lib/goodcheck/home_path.rb
goodcheck-2.4.1 lib/goodcheck/home_path.rb
goodcheck-2.4.0 lib/goodcheck/home_path.rb
goodcheck-2.3.2 lib/goodcheck/home_path.rb
goodcheck-2.3.1 lib/goodcheck/home_path.rb
goodcheck-2.3.0 lib/goodcheck/home_path.rb