Can I just say first.. Docsplit is amazing!
I have this in my code...
Docsplit.extract_text(source_path, :output => destination_path)
Is there a way, however, to "get" the text in Ruby directly?
With the above, I end up with a lovely file that contains text, but it I am to use it, I need to reopen it to get its contents.
As far as I know, setting:
something = Docsplit.extract_text(...)
..would just give me the source filename in "something".
Can I just say first.. Docsplit is amazing!
I have this in my code...
Docsplit.extract_text(source_path, :output => destination_path)Is there a way, however, to "get" the text in Ruby directly?
With the above, I end up with a lovely file that contains text, but it I am to use it, I need to reopen it to get its contents.
As far as I know, setting:
something = Docsplit.extract_text(...)..would just give me the source filename in "something".