We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
Ruby - Methods - Variable Arguments
Ruby - Methods - Variable Arguments
Sort by
recency
|
51 Discussions
|
Please Login in order to post a comment
Ruby Compiled solutions https://github.com/LinaOrmos/Ruby/tree/main
def full_name(first, *rest) first + " " + rest.join(" ") end
Solution 1:
Solution 2: