class LanguageServer::Protocol::Interface::ExecuteCommandOptions
Attributes
attributes[R]
Public Class Methods
new(work_done_progress: nil, commands:)
click to toggle source
# File lib/language_server/protocol/interface/execute_command_options.rb, line 5 def initialize(work_done_progress: nil, commands:) @attributes = {} @attributes[:workDoneProgress] = work_done_progress if work_done_progress @attributes[:commands] = commands @attributes.freeze end
Public Instance Methods
commands()
click to toggle source
The commands to be executed on the server
@return [string
# File lib/language_server/protocol/interface/execute_command_options.rb, line 23 def commands attributes.fetch(:commands) end
to_hash()
click to toggle source
# File lib/language_server/protocol/interface/execute_command_options.rb, line 29 def to_hash attributes end
to_json(*args)
click to toggle source
# File lib/language_server/protocol/interface/execute_command_options.rb, line 33 def to_json(*args) to_hash.to_json(*args) end
work_done_progress()
click to toggle source
@return [boolean]
# File lib/language_server/protocol/interface/execute_command_options.rb, line 15 def work_done_progress attributes.fetch(:workDoneProgress) end