Ruby Gold

Ruby Association Certified Ruby Programmer Gold

Built In LibrariesEnglish
Exam overview

Practice session

What does this print? lambda_obj = ->(a, b) { return a + b } proc_obj = Proc.new { |a, b| a + b } puts lambda_obj.call(1, 2) puts proc_obj.call(1, 2, 3)

Loading your practice session…