I’ve just finished working on a few util scripts in Ruby to cut my
teeth and I was wondering what the best practice is with regards the
use of class methods.
E.g. Is it better to do something like this…
fu = FileUtils.new
I assume the second would only create a single instance of a
“fileutils” object, thus requiring less overhead than the first?