This is an implementation of Daniel Berger's proposal of structured warnings for Ruby.
Gregor Schmidt
gem "structured_warnings", "~> 0.1.2"