Full code: http://friendpaste.com/5TdtGPZaEK0DbDBa2DCUyB
class Options
    def method_missing(method, *args, &block)
        p method
    end
end
options = Options.new
options.instance_eval do
    foo
    foo = "It aint easy being cheesy!"
end
puts "#===---"
options.foo
options.foo = "It still aint easy being cheesy!"
This returns:
:foo
#===---
:foo
:foo=
Because it is treating foo = "" as a local variable within instance_eval, it's not recognize it as a method.
How would I make instance_eval treat it as a method?