Click here to Skip to main content
15,890,995 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
mind boggled, the scoll on the irb window does not contain all the results of the query i wrote, i know this as i reversed the query in desc and it shows other things.

can i write the irb output (all of it) to a txt file?

any guidance is appreciated, puling hair out trying to find examples, and yet again my refernce bok is letting me down

thank you
Posted

1 solution

$stdout = File.new('console.out', 'w')

done
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900