refactoring string array

fixing rubymine warning