Class: Jekyll::Converters::Identity

Inherits:
Jekyll::Converter show all
Defined in:
lib/jekyll/converters/identity.rb

Constant Summary

Constants inherited from Plugin

Plugin::PRIORITIES

Instance Method Summary collapse

Methods inherited from Jekyll::Converter

highlighter_prefix, #highlighter_prefix, highlighter_suffix, #highlighter_suffix, #initialize

Methods inherited from Plugin

<=>, #<=>, catch_inheritance, descendants, inherited, #initialize, priority, safe

Constructor Details

This class inherits a constructor from Jekyll::Converter

Instance Method Details

#convert(content) ⇒ Object



18
19
20
# File 'lib/jekyll/converters/identity.rb', line 18

def convert(content)
  content
end

#matches(_ext) ⇒ Object



10
11
12
# File 'lib/jekyll/converters/identity.rb', line 10

def matches(_ext)
  true
end

#output_ext(ext) ⇒ Object



14
15
16
# File 'lib/jekyll/converters/identity.rb', line 14

def output_ext(ext)
  ext
end