Ruby - Methods - Arguments

  • + 0 comments

    def take(nums, len=1) nums[len, nums.length] end