Module: PuppetEditorServices::Server

Defined in:
lib/puppet_editor_services/server.rb,
lib/puppet_editor_services/server/tcp.rb,
lib/puppet_editor_services/server/base.rb,
lib/puppet_editor_services/server/stdio.rb

Defined Under Namespace

Classes: Base, Stdio, Tcp

Class Method Summary collapse

Class Method Details

.current_serverObject



7
8
9
# File 'lib/puppet_editor_services/server.rb', line 7

def self.current_server
  @@current_server # This is fine
end

.current_server=(value) ⇒ Object



11
12
13
# File 'lib/puppet_editor_services/server.rb', line 11

def self.current_server=(value)
  @@current_server = value # rubocop:disable Style/ClassVars  This is fine
end