Skip to content

Commit

Permalink
Fix Template#compile on Ruby < 3.2
Browse files Browse the repository at this point in the history
  • Loading branch information
noteflakes committed Feb 19, 2024
1 parent 384f826 commit eb0514b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/papercraft/template.rb
Original file line number Diff line number Diff line change
Expand Up @@ -200,8 +200,8 @@ def mime_type
@mime_type
end

def compile(*)
Papercraft::Compiler.new.compile(self, *)
def compile(*args)
Papercraft::Compiler.new.compile(self, *args)
end
end
end

0 comments on commit eb0514b

Please sign in to comment.