```ruby
class PrivatePub
  module Utils
    class << self
      def symbolize_keys arg
        case arg
        when Array
          arg.map { |elem| symbolize_keys elem }
        when Hash
          Hash[
            arg.map { |key, value|
              k = key.is_a?(String) ? key.to_sym : key
              v = symbolize_keys value
              [k,v]
            }]
        else
          arg
        end
      end
    end
  end
end
```

Fix aesthetic parens in PrivatePub::Utils
user
```ruby
class PrivatePub
  module Utils
    class << self
      def symbolize_keys(arg)
        case arg
        when Array
          arg.map { |elem| symbolize_keys elem }
        when Hash
          Hash[
            arg.map { |key, value|
              k = key.is_a?(String) ? key.to_sym : key
              v = symbolize_keys value
              [k,v]
            }]
        else
          arg
        end
      end
    end
  end
end
```
assistant