Phrogz
9/13/2007 5:34:00 AM
On Sep 12, 12:07 pm, Rupa Ruby <anu.re...@gmail.com> wrote:
> In ruby, is there any way to read the values from a fileI am actually
> giving the values in the code itself. Is there a way to read the value
> dynamically
Yes, it is possible. You can either read the file into a string and
parse it to find what you wanted, or you can load the file as ruby
code (if it is) and have the code run.
If that doesn't answer your question, please provide more details
about what you are trying to do.