NoMethodError: undefined method `copy' for File:Class
by Željko Filipin
I wanted to copy a file from Ruby. Documentation for File#copy
said that
should work. But, I got this error message:
Google search led me to ruby-talk post that said I should do:
I am just surprised that documentation did not make that clear.
tags: code - ruby