Add RuboCop style to pull request.

RuboCop FTW (Or not)
So this still exhibits more `if`s than it needs to. Can you refactor it to move the raise to a better location? Also look at `shapes.fetch` as a way to accomplish this.