Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
registry =
config =
options = {auto_correct: true}
team =, config, options)
buffer ='(string)')
buffer.source = source_string
source =, RUBY_VERSION.to_f)
new_code = team.send(:autocorrect_all_cops, buffer, team.cops)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.