Determine method order (instance, class, constructor) for files in a ruby project