Move to ruby

Use ``.each do |symbol|`` if you  have such long lines