module Ollama::Documents::Cache::Common
def unpre(key)
-
(String)
- the input string without the prefix.
Parameters:
-
key
(String
) -- the input string containing the prefix.
def unpre(key) key.sub(/\A#@prefix/, '') end
(String)
- the input string without the prefix.
key
(String
)
-- the input string containing the prefix.
def unpre(key) key.sub(/\A#@prefix/, '') end