Skip to content

Commit 2c32f6f

Browse files
committed
cache and low_level_cache should always return nil
1 parent fb5ddbd commit 2c32f6f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lib/phlex/sgml.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -298,6 +298,8 @@ def cache(*cache_key, **, &content)
298298
].freeze
299299

300300
low_level_cache(full_key, **, &content)
301+
302+
nil
301303
end
302304

303305
# Cache a block of content where you control the entire cache key.
@@ -331,6 +333,8 @@ def low_level_cache(cache_key, **options, &content)
331333
end
332334
end
333335
end
336+
337+
nil
334338
end
335339

336340
def json_escape(string)

0 commit comments

Comments
 (0)