This is really hard for me eyes to read.
```ruby
@@sessions[ resource env ]
```

I'd prefer
```ruby
@@sessions[ resource( env ) ]
```