Ruby - Methods
Consider this Ruby method:
What will
def format_name(first, last = "Smith", middle = nil)
if middle
"#{first} #{middle} #{last}"
else
"#{first} #{last}"
end
endWhat will
format_name("John") return?