B
Ben
It should be simple, but I have not found the answer yet.
How to run File1.rb under irb prompt?
I can run script under DOS prompt:
C:\> ruby File1.rb
But how can I do this under irb prompt:
irb(main):001:0> File1.rb <== did not work
irb(main):001:0> File1 <== did not work
Thanks.
Ben
How to run File1.rb under irb prompt?
I can run script under DOS prompt:
C:\> ruby File1.rb
But how can I do this under irb prompt:
irb(main):001:0> File1.rb <== did not work
irb(main):001:0> File1 <== did not work
Thanks.
Ben