From 427b6891ad30e6dfc5f3895922378943eca7a6eb Mon Sep 17 00:00:00 2001 From: GregPK Date: Wed, 30 Oct 2019 13:42:58 +0100 Subject: [PATCH] Better documentation for Jekyll::Converters::Identity Shedding some light on the identity converter and making it more useful when used as a template for other converters. --- lib/jekyll/converters/identity.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/jekyll/converters/identity.rb b/lib/jekyll/converters/identity.rb index 3473e2e0d9c..7579b330a06 100644 --- a/lib/jekyll/converters/identity.rb +++ b/lib/jekyll/converters/identity.rb @@ -2,7 +2,7 @@ module Jekyll module Converters - # Identify converter. Returns same content as given. + # Identity converter. Returns same content as given. # For more info on converters see https://jekyllrb.com/docs/plugins/converters/ class Identity < Converter safe true @@ -12,7 +12,7 @@ class Identity < Converter # Public: Does the given extension match this converter's list of acceptable extensions? # Takes one argument: the file's extension (including the dot). # - # ext - The String extension to check (not relevant here) + # _ext - The String extension to check (not relevant here) # # Returns true since it always matches. def matches(_ext)