R
Rich
I was thinking of adding a simple command console to a Ruby project
I'm working on (something like a domain-specific REPL). Under what
execution environment do the "eval"-ed strings execute, relative to
the execution environment that is calling the eval method? Can
classes be opened using eval? Finally, is there anything like Perl's
Safe module available in Ruby? Thank you.
-Rich Seagraves
I'm working on (something like a domain-specific REPL). Under what
execution environment do the "eval"-ed strings execute, relative to
the execution environment that is calling the eval method? Can
classes be opened using eval? Finally, is there anything like Perl's
Safe module available in Ruby? Thank you.
-Rich Seagraves