Ruby - Basics and Runtime
You want to document a Ruby method that takes a number and returns its square. Which comment style best describes the method's purpose and input/output?
@param and @return to document methods clearly.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions