ismasan/oat — pull request #43 by iainbeeston (2014-07-09 12:50:28+00:00)
Title: Fix serializer ampersand warning

WHAT?
----------

I've been seeing this warning:

oat/lib/oat/serializer.rb:54: warning: `&' interpreted as argument prefix

You can reproduce this by running rspec with the "-w" flag. For some reason I was seeing it every time I ran the tests for an oat serialiser in my own rails app.

HOW?
---------

Putting parenthesis around the ampersanded-variable removes the ambiguity and removes the warning.