mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
12 lines
128 B
Ruby
12 lines
128 B
Ruby
# frozen_string_literal: true
|
|
|
|
module Cachable
|
|
def cache
|
|
@cache ||= {}
|
|
end
|
|
|
|
def clear_cache
|
|
cache.clear
|
|
end
|
|
end
|