mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
10 lines
97 B
Ruby
10 lines
97 B
Ruby
![]() |
module Cachable
|
||
|
def cache
|
||
|
@cache ||= {}
|
||
|
end
|
||
|
|
||
|
def clear_cache
|
||
|
cache.clear
|
||
|
end
|
||
|
end
|