Shopify / statsd-instrument

A StatsD client for Ruby apps. Provides metaprogramming methods to inject StatsD instrumentation into your code.
http://shopify.github.io/statsd-instrument
MIT License
570 stars 94 forks source link

Minor refactoring and fixes #261

Closed wvanbergen closed 4 years ago

wvanbergen commented 4 years ago

I am trying to get the sorbet type checker to run on this codebase. My initial effort already found some minor bugs, and unnecessary metaprogramming that makes static analysis impossible. This PR fixes those issues. Depends on #260 for the Rubocop issues.