Class: DSP::StepInArguments

Inherits:
DSPBase
  • Object
show all
Defined in:
lib/dsp/dsp_protocol.rb

Overview

interface StepInArguments {

    /** Execute 'stepIn' for this thread. */
    threadId: number;
    /** Optional id of the target to step into. */
    targetId?: number;
}

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from DSPBase

#to_h, #to_json

Constructor Details

#initialize(initial_hash = nil) ⇒ StepInArguments

Returns a new instance of StepInArguments.



1873
1874
1875
1876
# File 'lib/dsp/dsp_protocol.rb', line 1873

def initialize(initial_hash = nil)
  super
  @optional_method_names = %i[targetId]
end

Instance Attribute Details

#targetIdObject

type: number # type: number



1871
1872
1873
# File 'lib/dsp/dsp_protocol.rb', line 1871

def targetId
  @targetId
end

#threadIdObject

type: number # type: number



1871
1872
1873
# File 'lib/dsp/dsp_protocol.rb', line 1871

def threadId
  @threadId
end

Instance Method Details

#from_h!(value) ⇒ Object



1878
1879
1880
1881
1882
1883
# File 'lib/dsp/dsp_protocol.rb', line 1878

def from_h!(value)
  value = {} if value.nil?
  self.threadId = value['threadId']
  self.targetId = value['targetId']
  self
end