by reddyonrails · 12y ago · 0 comments
sum_of_cubes = total_sum.(lambda { |x| x^3} )
sum_of_cubes.(1,2)
In ruby way
No comments yet.