I'm using YARD to document my code. I have a method that has an optional parameter with a default value. How do I notate that the parameter is optional and has a default value?
Example:
# Squares a number
#
# @param the number to square
def square_a_number(number = 2)
number * number
end