Q. What is the main difference between instance_eval and class_eval in Ruby?
β
Correct Answer: (C)
instance_eval evaluates code within the context of an object, while class_eval evaluates code within the context of a class
You must be Logged in to update hint/solution