From 7c96846e16ae60d8797ef37d83cb6b0f0553ef2e Mon Sep 17 00:00:00 2001 From: murphy Date: Mon, 5 Dec 2005 17:59:17 +0000 Subject: Some fixes for cYcnus style (capital Y makes problems) Fixes in the coderay_rdoc_template. --- lib/coderay/helpers/plugin.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/coderay/helpers/plugin.rb') diff --git a/lib/coderay/helpers/plugin.rb b/lib/coderay/helpers/plugin.rb index 37bdc4c..f88fe7f 100644 --- a/lib/coderay/helpers/plugin.rb +++ b/lib/coderay/helpers/plugin.rb @@ -206,7 +206,7 @@ protected File.join plugin_path, "#{plugin_id}.rb" end - # Converts +id+ to a downcase Symbol if it is a String, + # Converts +id+ to a Symbol if it is a String, # or returns +id+ if it already is a Symbol. # # Raises +ArgumentError+ for all other objects, or if the @@ -216,7 +216,7 @@ protected id elsif id.is_a? String if id[/\w+/] == id - id.downcase.to_sym + id.to_sym else raise ArgumentError, "Invalid id: '#{id}' given." end -- cgit v1.2.1