Pages tagged with ruby

I'm still in the process of tagging pages that were migrated from the old site, so for now you're best off using the search engine rather than relying on the tags.

  • Ruby - IO IO operations should be done within begin-rescue blocks. Reading contents = IO.read(portname) # The entire file will be read into memory as its contents is retrieved. Read closes after use. contents = File.read(portname) # Same as above (File is ...

This website is a personal resource. Nothing here is guaranteed correct or complete, so use at your own risk and try not to delete the Internet. -Stephan

Site Info

Privacy policy

Go to top