From fb64737038ca13b4047219c429560b97b98fe22b Mon Sep 17 00:00:00 2001 From: murphy Date: Sat, 29 Oct 2005 04:55:15 +0000 Subject: encoder.rb: Added Encoder#file_extension plugin.rb: #load_plugin --> #load; no more debug messages encoders/html.rb: Documentation; hint system; moved NUMERIZABLE_WRAPPINGS to html_output.rb encoders/helpers/html_output.rb: made stylesheet a method; disabled code cell hint; fixed inline numerizing encoders/debug.rb: changed extension to 'raydebug' etc folder added included etc/raydebug.vim for cool vim highlighting --- lib/coderay/encoder.rb | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'lib/coderay/encoder.rb') diff --git a/lib/coderay/encoder.rb b/lib/coderay/encoder.rb index 448a45b..362cfb4 100644 --- a/lib/coderay/encoder.rb +++ b/lib/coderay/encoder.rb @@ -109,6 +109,11 @@ module CodeRay method(:token).to_proc end + # Return the default file extension for outputs of this encoder. + def file_extension + self.class::FILE_EXTENSION + end + protected # Called with merged options before encoding starts. -- cgit v1.2.1