presidentbeef/brakeman — pull request #146 by presidentbeef (2012-09-11 01:07:06+00:00)
Title: Treat `super` as a method call

If `super` is called with a block, then `Sexp#block_call` will return a `super` node type, not a `call`. This means anywhere `Sexp#block_call` is used, there would need to be an additional check that the result of `Sexp#block_call` is actually a `call`!

That would be painful, so I've made it so `super` nodes can be treated like `call` nodes in terms of convenience methods.

Also, tests!