Ruby - Methods - Variable Arguments

  • + 0 comments

    def full_name(first, *rest) first + " " + rest.join(" ") end