Skip to content

Commit

Permalink
Run rubocop
Browse files Browse the repository at this point in the history
  • Loading branch information
0x1eef committed Oct 7, 2023
1 parent a67ba9e commit 9c19ef1
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions nanoc/lib/mixin/erb.rb
Original file line number Diff line number Diff line change
@@ -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)
Expand Down
2 changes: 2 additions & 0 deletions nanoc/lib/mixin/inline.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# frozen_string_literal: true

module Mixin::Inline
def inline_json(path)
class_name = File.basename(path, File.extname(path))
Expand Down
2 changes: 2 additions & 0 deletions nanoc/lib/mixin/t.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# frozen_string_literal: true

module Mixin::T
extend Memoize

Expand Down

0 comments on commit 9c19ef1

Please sign in to comment.