Module: RuboCop::Server

Defined in:
lib/rubocop/service/patch/server.rb,
lib/rubocop/service/patch/server/core.rb,
lib/rubocop/service/patch/server/cache.rb,
lib/rubocop/service/patch/server/client_command/stop.rb,
lib/rubocop/service/patch/server/client_command/start.rb

Defined Under Namespace

Modules: ClientCommand Classes: Cache, Core

Class Method Summary collapse

Class Method Details

.support_server?Boolean

Returns:

  • (Boolean)


6
7
8
9
# File 'lib/rubocop/service/patch/server.rb', line 6

def support_server?
  # RUBY_ENGINE == 'ruby' && !RuboCop::Platform.windows?
  RUBY_ENGINE == "ruby"
end