Method not available on this version
This method is only available on newer versions.
The first available version (v2_6_3) is shown here.
camel_case(str)
public
Receives a string and convert it to camel case. camel_case returns
CamelCase.
Parameters
String
Returns
String
# File lib/bundler/vendor/thor/lib/thor/util.rb, line 104
def camel_case(str)
return str if str !~ /_/ && str =~ /[A-Z]+.*/
str.split("_").map(&:capitalize).join
end