U
unexist
Hello list,
just wondered about following: http://pastie.org/1249746
Is this the intended behaviour of require? I am a bit surprised, that it evals the code on object-level
instead of staying in the scope of my Foobar object.
Is there a way around this? Also is it's possible to set the LOAD_PATH to get require_relative in
instance_eval to work? I know about the path parameter of instance_eval, but apparently it doesn't
change anything.
With best regards
Christoph
just wondered about following: http://pastie.org/1249746
Is this the intended behaviour of require? I am a bit surprised, that it evals the code on object-level
instead of staying in the scope of my Foobar object.
Is there a way around this? Also is it's possible to set the LOAD_PATH to get require_relative in
instance_eval to work? I know about the path parameter of instance_eval, but apparently it doesn't
change anything.
With best regards
Christoph