Ruby | Symbol swapcase function
Symbol#swapcase() : swapcase() is a Symbol class method which inverts the writing case of the symbol object. Syntax: Symbol.swapcase() Parameter: Symbol values Return: inverts the writing case of the symbol object. upper to lower and lower to upper Example #1 : # Ruby code for Symbol.swapcase() meth