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

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

Constructor Details

This class inherits a constructor from Jekyll::Converter

Instance Method Details

#convert(content) ⇒ Object



16
17
18
# File 'lib/jekyll/converters/identity.rb', line 16

def convert(content)
  content
end

#matches(ext) ⇒ Object



8
9
10
# File 'lib/jekyll/converters/identity.rb', line 8

def matches(ext)
  true
end

#output_ext(ext) ⇒ Object



12
13
14
# File 'lib/jekyll/converters/identity.rb', line 12

def output_ext(ext)
  ext
end