What is the purpose of the method_defined? method in Ruby's Module class?
A. Checking if a method is defined within an object
B. Checking if a module is defined within a method
C. Checking if a method is defined within a class
D. Checking if a method is defined within a module
Answer: Option D

Join The Discussion