Remove unused method (inline_json)

This commit is contained in:
0x1eef 2024-06-22 01:40:56 -03:00
parent a6758384ec
commit b6a7ae3ee6

View file

@ -1,12 +1,6 @@
# frozen_string_literal: true
module Utils::Inline
def inline_json(path, class_name: File.basename(path, File.extname(path)))
%|<script class="json #{class_name}" type="application/json">| \
"#{items[path].compiled_content}" \
"</script>"
end
def inline_css(path)
class_name = File.basename(path, File.extname(path))
%|<style class="css #{class_name}">| \