From 9c19ef1fa83ede119676153890bb740309c4369f Mon Sep 17 00:00:00 2001 From: 0x1eef <0x1eef@protonmail.com> Date: Sat, 7 Oct 2023 19:16:37 -0300 Subject: [PATCH] Run rubocop --- nanoc/lib/mixin/erb.rb | 2 ++ nanoc/lib/mixin/inline.rb | 2 ++ nanoc/lib/mixin/t.rb | 2 ++ 3 files changed, 6 insertions(+) diff --git a/nanoc/lib/mixin/erb.rb b/nanoc/lib/mixin/erb.rb index 2a6feadde..0021414cf 100644 --- a/nanoc/lib/mixin/erb.rb +++ b/nanoc/lib/mixin/erb.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + module Mixin::ERB def erb(path, local_assigns = {}) erb = File.binread File.join(Dir.getwd, "src", "html", path) diff --git a/nanoc/lib/mixin/inline.rb b/nanoc/lib/mixin/inline.rb index 88f5f8587..81fcd1fb7 100644 --- a/nanoc/lib/mixin/inline.rb +++ b/nanoc/lib/mixin/inline.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + module Mixin::Inline def inline_json(path) class_name = File.basename(path, File.extname(path)) diff --git a/nanoc/lib/mixin/t.rb b/nanoc/lib/mixin/t.rb index 476d46480..e1861a31f 100644 --- a/nanoc/lib/mixin/t.rb +++ b/nanoc/lib/mixin/t.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + module Mixin::T extend Memoize