You are viewing a single comment's thread. Return to all comments →
def take(nums, len=1) nums[len, nums.length] end
Seems like cookies are disabled on this browser, please enable them to open this website
Ruby - Methods - Arguments
You are viewing a single comment's thread. Return to all comments →
def take(nums, len=1) nums[len, nums.length] end