What is memoization in Ruby?
A. Evaluating code at runtime based on user input
B. Creating anonymous functions that can be called later
C. Dynamically defining methods based on certain conditions
D. Caching the return value of a method for future invocations
Answer: Option D

Join The Discussion