Class: DSP::LaunchRequestArguments
- Defined in:
- lib/dsp/dsp_protocol.rb
Overview
interface LaunchRequestArguments {
/** If noDebug is true the launch request should launch the program without enabling debugging. */
noDebug?: boolean;
/** Optional data from the previous, restarted session.
The data is sent as the 'restart' attribute of the 'terminated' event.
The client should leave the data intact.
*/
__restart?: any;
}
Instance Attribute Summary collapse
-
#__restart ⇒ Object
type: boolean # type: any.
-
#noDebug ⇒ Object
type: boolean # type: any.
Instance Method Summary collapse
- #from_h!(value) ⇒ Object
-
#initialize(initial_hash = nil) ⇒ LaunchRequestArguments
constructor
A new instance of LaunchRequestArguments.
Methods inherited from DSPBase
Constructor Details
#initialize(initial_hash = nil) ⇒ LaunchRequestArguments
Returns a new instance of LaunchRequestArguments.
1015 1016 1017 1018 |
# File 'lib/dsp/dsp_protocol.rb', line 1015 def initialize(initial_hash = nil) super @optional_method_names = %i[noDebug __restart] end |
Instance Attribute Details
#__restart ⇒ Object
type: boolean # type: any
1013 1014 1015 |
# File 'lib/dsp/dsp_protocol.rb', line 1013 def __restart @__restart end |
#noDebug ⇒ Object
type: boolean # type: any
1013 1014 1015 |
# File 'lib/dsp/dsp_protocol.rb', line 1013 def noDebug @noDebug end |
Instance Method Details
#from_h!(value) ⇒ Object
1020 1021 1022 1023 1024 1025 |
# File 'lib/dsp/dsp_protocol.rb', line 1020 def from_h!(value) value = {} if value.nil? self.noDebug = value['noDebug'] # Unknown type self.__restart = value['__restart'] self end |