bbatsov/rubocop — pull request #311 by yujinakayama (2013-06-29 07:44:47+00:00)
Title: Fix exception at location.real_column in the JSON formatter

We have defined `Rubocop::Cop::Location#real_column`, but most cases the location attribute value of `Offence` is actually `Parser::Source::Range` and it does not respond to `#real_column`.

Though I think we should handle the location attribute in a better way later, this is a quick fix for now.