tasks/ri_cal.rake in ri_cal-0.7.3 vs tasks/ri_cal.rake in ri_cal-0.7.4
- old
+ new
@@ -2,12 +2,14 @@
require 'yaml'
#- ©2009 Rick DeNatale, All rights reserved. Refer to the file README.txt for the license
#
# code stolen from ActiveSupport Gem
unless String.instance_methods.include?("camelize")
+ class String
def camelize
self.gsub(/\/(.?)/) { "::#{$1.upcase}" }.gsub(/(?:^|_)(.)/) { $1.upcase }
end
+ end
end
class VEntityUpdater
Pluralization = {
"attach" => "attachments",