Module: Toys::StandardMixins::GitCache
- Includes:
- Mixin
- Defined in:
- lib/toys/standard_mixins/git_cache.rb
Overview
A mixin that provides a git cache.
This mixin provides an instance of Utils::GitCache, providing cached access to files from a remote git repo.
Constant Summary collapse
- KEY =
Context key for the GitCache object.
::Object.new.freeze
Instance Method Summary collapse
-
#git_cache ⇒ Toys::Utils::GitCache
Access the builtin GitCache.
Methods included from Mixin
Instance Method Details
#git_cache ⇒ Toys::Utils::GitCache
Access the builtin GitCache.
36 37 38 |
# File 'lib/toys/standard_mixins/git_cache.rb', line 36 def git_cache self[KEY] end |