lib/rubocop/server/helper.rb in rubocop-1.48.1 vs lib/rubocop/server/helper.rb in rubocop-1.49.0
- old
+ new
@@ -9,10 +9,10 @@
#
# https://github.com/fohte/rubocop-daemon/blob/master/LICENSE.txt
#
module RuboCop
module Server
- # This module has a helper memthod for `RuboCop::Server::SocketReader`.
+ # This module has a helper method for `RuboCop::Server::SocketReader`.
# @api private
module Helper
def self.redirect(stdin: $stdin, stdout: $stdout, stderr: $stderr, &_block)
old_stdin = $stdin.dup
old_stdout = $stdout.dup