Alex N.
Alex N.

Reputation: 11

Ruby: Reading Unsaved Text File

I have a RFID scanner program in Windows writing its results to a sample text file. However the program does NOT save the file. Is there any way in Ruby that I can read in these changes made to the text file even though they have not been committed?

Upvotes: 1

Views: 112

Answers (2)

Michael Kohne
Michael Kohne

Reputation: 12044

Can the RFID program be setup to send it's data to any arbitrary program? Because if so, then I'd say your best bet is to start by writing a program that it can send to that would do something sensible with the data (like write it to a file), instead of using Notepad as part of your process.

Upvotes: 0

sumskyi
sumskyi

Reputation: 1835

. You can not .

Upvotes: 3

Related Questions