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 Style/AsciiComments cop

This commit is contained in:
Kyrylo Silin 2019-03-23 20:11:19 +02:00
parent 3c2a11a280
commit c120e94e72
3 changed files with 2 additions and 9 deletions

View file

@ -137,13 +137,6 @@ Style/AccessModifierDeclarations:
- 'spec/editor_spec.rb' - 'spec/editor_spec.rb'
- 'spec/method/patcher_spec.rb' - 'spec/method/patcher_spec.rb'
# Offense count: 2
# Configuration parameters: AllowedChars.
Style/AsciiComments:
Exclude:
- 'lib/pry/pry_instance.rb'
- 'lib/pry/terminal.rb'
# Offense count: 39 # Offense count: 39
Style/CaseEquality: Style/CaseEquality:
Enabled: false Enabled: false

View file

@ -351,7 +351,7 @@ class Pry
end end
private :handle_line private :handle_line
# Potentially deprecated Use `Pry::REPL.new(pry, :target => target).start` # Potentially deprecated. Use `Pry::REPL.new(pry, :target => target).start`
# (If nested sessions are going to exist, this method is fine, but a goal is # (If nested sessions are going to exist, this method is fine, but a goal is
# to come up with an alternative to nested sessions altogether.) # to come up with an alternative to nested sessions altogether.)
def repl(target = nil) def repl(target = nil)

View file

@ -25,7 +25,7 @@ class Pry
end end
def actual_screen_size def actual_screen_size
# The best way, if possible (requires non-jruby 1.9 or io-console gem) # The best way, if possible (requires non-jruby >=1.9 or io-console gem)
screen_size_according_to_io_console || screen_size_according_to_io_console ||
# Fall back to the old standby, though it might be stale: # Fall back to the old standby, though it might be stale:
screen_size_according_to_env || screen_size_according_to_env ||