Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Tidy code with rubocop

Sponsored · Your Podcast. Everywhere. Effortlessly. Share. Educate. Inspire. Entertain. You do you. We'll handle the rest. →

Tidy code with rubocop

Avatar for Martin Artnik

Martin Artnik

November 27, 2015

Other Decks in Programming

Transcript

  1. RuboCop::Cop::Metrics::AbcSize Assignment, Branch, Condition A scalar ABC size value (or

    "aggregate magnitude") is computed as: |ABC| = sqrt((A*A)+(B*B)+(C*C)) RuboCop::Cop::Metrics::LineLength
  2. Emacs Vim Sublime Text Brackets TextMate2 Atom LightTable RubyMine Git

    pre-commit hook integration Guard integration Rake integration
  3. There will be a Q&A session after every talk so

    any and all questions you have will be answered.