Skip to content

Commit

Permalink
Disable Rails/Delegate linter for parse method in test/helper.rb (#1072)
Browse files Browse the repository at this point in the history
  • Loading branch information
camertron authored Feb 18, 2025
1 parent 818a40c commit a8e4b7b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/octicons_jekyll/test/helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,11 @@
require "jekyll-octicons"

# Parse a string into a liquid template
# rubocop:disable Rails/Delegate
def parse(string)
Liquid::Template.parse(string)
end
# rubocop:enable Rails/Delegate

# Parse and render a string
def render(string, assigns = {})
Expand Down

0 comments on commit a8e4b7b

Please sign in to comment.