Class: PlatformosCheck::LanguageServer::ExecuteCommandProvider
- Inherits:
-
Object
- Object
- PlatformosCheck::LanguageServer::ExecuteCommandProvider
show all
- Defined in:
- lib/platformos_check/language_server/execute_command_provider.rb
Class Method Summary
collapse
Instance Method Summary
collapse
Class Method Details
.all ⇒ Object
7
8
9
|
# File 'lib/platformos_check/language_server/execute_command_provider.rb', line 7
def all
@all ||= []
end
|
.command(cmd = nil) ⇒ Object
15
16
17
18
|
# File 'lib/platformos_check/language_server/execute_command_provider.rb', line 15
def command(cmd = nil)
@command = cmd unless cmd.nil?
@command
end
|
.inherited(subclass) ⇒ Object
11
12
13
|
# File 'lib/platformos_check/language_server/execute_command_provider.rb', line 11
def inherited(subclass)
all << subclass
end
|
Instance Method Details
#command ⇒ Object
25
26
27
|
# File 'lib/platformos_check/language_server/execute_command_provider.rb', line 25
def command
self.class.command
end
|
#execute(arguments) ⇒ Object
21
22
23
|
# File 'lib/platformos_check/language_server/execute_command_provider.rb', line 21
def execute(arguments)
raise NotImplementedError
end
|