1
0
Fork 0
mirror of https://github.com/pry/pry.git synced 2022-11-09 12:35:05 -05:00

rubocop: fix offences of the Layout/EmptyLineAfterMagicComment cop

This commit is contained in:
Kyrylo Silin 2019-02-25 00:22:30 +02:00
parent dbe74ea86a
commit 77faa485b4
3 changed files with 2 additions and 7 deletions

View file

@ -13,13 +13,6 @@ Gemspec/RequiredRubyVersion:
Exclude:
- 'pry.gemspec'
# Offense count: 2
# Cop supports --auto-correct.
Layout/EmptyLineAfterMagicComment:
Exclude:
- 'lib/pry/pry_instance.rb'
- 'lib/pry/terminal.rb'
# Offense count: 10
# Cop supports --auto-correct.
Layout/EmptyLinesAroundAccessModifier:

View file

@ -1,4 +1,5 @@
# -*- coding: utf-8 -*-
##
# Pry is a powerful alternative to the standard IRB shell for Ruby. It
# features syntax highlighting, a flexible plugin architecture, runtime

View file

@ -1,4 +1,5 @@
# coding: utf-8
class Pry::Terminal
class << self
# Return a pair of [rows, columns] which gives the size of the window.