diff options
author | murphy <murphy@rubychan.de> | 2005-12-05 17:59:17 +0000 |
---|---|---|
committer | murphy <murphy@rubychan.de> | 2005-12-05 17:59:17 +0000 |
commit | 7c96846e16ae60d8797ef37d83cb6b0f0553ef2e (patch) | |
tree | b1ba6c6b9941f80e2b3b38be3fb8a64dd86e1241 /lib/coderay/helpers/plugin.rb | |
parent | 300032def4f1f4fe2227612c5c045cb72225546f (diff) | |
download | coderay-7c96846e16ae60d8797ef37d83cb6b0f0553ef2e.tar.gz |
Some fixes for cYcnus style (capital Y makes problems)
Fixes in the coderay_rdoc_template.
Diffstat (limited to 'lib/coderay/helpers/plugin.rb')
-rw-r--r-- | lib/coderay/helpers/plugin.rb | 4 |
1 files changed, 2 insertions, 2 deletions
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
|