instance_eval « Reflection « Ruby






1.use instance_eval to execute code within the scope of an object: