Better documentation for Jekyll::Converters::Identity (#7883)

Merge pull request 7883
This commit is contained in:
Grzegorz Kaczorek 2019-10-30 17:01:27 +01:00 committed by jekyllbot
parent 6a57842395
commit 42c48b4f34
1 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,7 @@
module Jekyll module Jekyll
module Converters 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/ # For more info on converters see https://jekyllrb.com/docs/plugins/converters/
class Identity < Converter class Identity < Converter
safe true safe true
@ -12,7 +12,7 @@ module Jekyll
# Public: Does the given extension match this converter's list of acceptable extensions? # Public: Does the given extension match this converter's list of acceptable extensions?
# Takes one argument: the file's extension (including the dot). # 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. # Returns true since it always matches.
def matches(_ext) def matches(_ext)