Class: Jekyll::IdentityConverter

Inherits:
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 Converter

#initialize, pygments_prefix, #pygments_prefix, pygments_suffix, #pygments_suffix

Methods inherited from Plugin

<=>, inherited, #initialize, priority, safe, subclasses

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