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:
parent
3c2a11a280
commit
c120e94e72
3 changed files with 2 additions and 9 deletions
|
@ -137,13 +137,6 @@ Style/AccessModifierDeclarations:
|
|||
- 'spec/editor_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
|
||||
Style/CaseEquality:
|
||||
Enabled: false
|
||||
|
|
|
@ -351,7 +351,7 @@ class Pry
|
|||
end
|
||||
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
|
||||
# to come up with an alternative to nested sessions altogether.)
|
||||
def repl(target = nil)
|
||||
|
|
|
@ -25,7 +25,7 @@ class Pry
|
|||
end
|
||||
|
||||
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 ||
|
||||
# Fall back to the old standby, though it might be stale:
|
||||
screen_size_according_to_env ||
|
||||
|
|
Loading…
Reference in a new issue