From 33003edff1e6a906228aa7579740a0f8073d54e8 Mon Sep 17 00:00:00 2001 From: murphy Date: Wed, 6 Aug 2008 18:59:08 +0000 Subject: Fixed rdoc in coderay.rb. --- lib/coderay.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/coderay.rb') diff --git a/lib/coderay.rb b/lib/coderay.rb index 7d5bafe..1f067db 100644 --- a/lib/coderay.rb +++ b/lib/coderay.rb @@ -107,7 +107,7 @@ # # CodeRay.scan_stream:: Scan in stream mode. # -# == All-in-One Encoding +# == All-in-One Encoding # # CodeRay.encode:: Highlight a string with a given input and output format. # @@ -315,6 +315,7 @@ end # Run a test script. if $0 == __FILE__ $stderr.print 'Press key to print demo.'; gets + # Just use this file as an example of Ruby code. code = File.read(__FILE__)[/module CodeRay.*/m] print CodeRay.scan(code, :ruby).html end -- cgit v1.2.1