What does rev do?


#1

43 PM

What does rev currently do? and what does it mean by :
What this does is tell Ruby that alphabetize has a second parameter, rev (for “reverse”) that will default to false if the user doesn’t type in two arguments.

Thank you!


#2

rev is local parameter used as a flag to indicate whether the output should be ordered in reverse or not.


#3

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.