lib/hammer_cli/utils.rb in hammer_cli-0.0.13 vs lib/hammer_cli/utils.rb in hammer_cli-0.0.14

- old
+ new

@@ -13,6 +13,11 @@ else self % params end end + def camelize() + return self if self !~ /_/ && self =~ /[A-Z]+.*/ + split('_').map{|e| e.capitalize}.join + end + end