refactoring array.rb. Devide class