wbailey / command_line_reporter

A gem for making it easy to produce a report while a ruby script is executing
Apache License 2.0
432 stars 23 forks source link

Remove unnecessary use of NoMethodError #2

Closed jacaetevha closed 12 years ago

jacaetevha commented 12 years ago

Trapping the NoMethodError and retrying masks errors in code that uses CLR. Instead, make sure that the formatter is set on self before calling format.