Class: Jekyll::PugConverter

Inherits:
Converter
  • Object
show all
Defined in:
lib/jekyll-pug/pug-renderer.rb

Instance Method Summary collapse

Instance Method Details

#convert(content) ⇒ Object



169
170
171
# File 'lib/jekyll-pug/pug-renderer.rb', line 169

def convert(content)
	return content
end

#matches(ext) ⇒ Object



161
162
163
# File 'lib/jekyll-pug/pug-renderer.rb', line 161

def matches(ext)
	ext =~ /^\.pug$/i
end

#output_ext(ext) ⇒ Object



165
166
167
# File 'lib/jekyll-pug/pug-renderer.rb', line 165

def output_ext(ext)
	$CompileFormat
end