One style point - I'm a big name of interline alignment. I find it simply *looks* tidier, and make the shape of the code more meaningful at a glance (indeed, many developers I know talk about this, about looking at the shape the text of the code makes as a shortcut to convey meaning or intent)

So something like this:
```ruby
@contents = File.read(filename)
@request  = @contents.match(/GET|POST|PATCH|DELETE/)[0]
@path     = @contents.scan(/^http.+/).first.scan(/\/[a-z]+/).first
@referer  = @contents.scan(/^Referer.+/).first.scan(/http.+/).first
@format   = @contents.scan(/^Content-Type.+/).map {|type| type.partition(/: /).last}
@time     = @contents.scan(/^Date.+/).first.partition(/: /).last
@params   = params_hash
```