Why does the following code not raise an error:
Object.new.instance_eval { some_accessor_that_does_not_exist= "a value" }
While the following would raise a NameError as you would expect:
Object.new.instance_eval { some_method_that_doesnt_exist }
Even this would raise an error:
Object.new.instance_eval { self.some_accessor_that_does_not_exist= "a value" }
I've tried this on 1.8.7-p352 as well as 1.9.3-p194 with the same result.