lib/cucumber/helpers/core_ext.rb
# Converts a string to camelCase.
Converts a string to camelCase.
Converts a string to camelCase .
def camel_case
    s = self
    s = s.snake_case unless /^[a-z0-9]+$/i =~ s
    s = s.downcase if s == s.upcase 
    s.camelize(:lower)
  end
def camel_case s = self s = s . snake_case unless / ^[a-z0-9]+$ /i =~ s s = s . downcase if s == s . upcase s . camelize ( :lower ) end
Converts a string to camelCase.
Converts a string to camelCase .
# stop "CVV" -> "cVV" when it should be "cvv"