Home / Report Question

Q. What is a lambda in Ruby?
  • A. A type of anonymous function similar to a proc, but with stricter argument checking
  • B. A block of code that is passed to methods as an argument
  • C. A predefined set of instructions
  • D. A method that takes no arguments