Class: DSP::BreakpointEvent
Overview
interface BreakpointEvent extends Event {
body: {
/** The reason for the event.
Values: 'changed', 'new', 'removed', etc.
*/
reason: string;
/** The 'id' attribute is used to find the target breakpoint and the other attributes are used as the new values. */
breakpoint: Breakpoint;
};
}
Instance Attribute Summary collapse
-
#body ⇒ Object
type: {.
-
#event ⇒ Object
/** The reason for the event.
-
#seq ⇒ Object
type: {.
-
#type ⇒ Object
type: {.
Instance Method Summary collapse
Methods inherited from DSPBase
Constructor Details
This class inherits a constructor from DSP::DSPBase
Instance Attribute Details
#body ⇒ Object
type: {
490 491 492 |
# File 'lib/dsp/dsp_protocol.rb', line 490 def body @body end |
#event ⇒ Object
/** The reason for the event.
Values: 'changed', 'new', 'removed', etc.
*/
reason: string;
/** The 'id' attribute is used to find the target breakpoint and the other attributes are used as the new values. */
breakpoint: Breakpoint;
}
498 499 500 |
# File 'lib/dsp/dsp_protocol.rb', line 498 def event @event end |
#seq ⇒ Object
type: {
490 491 492 |
# File 'lib/dsp/dsp_protocol.rb', line 490 def seq @seq end |
#type ⇒ Object
type: {
490 491 492 |
# File 'lib/dsp/dsp_protocol.rb', line 490 def type @type end |
Instance Method Details
#from_h!(value) ⇒ Object
500 501 502 503 504 505 506 507 |
# File 'lib/dsp/dsp_protocol.rb', line 500 def from_h!(value) value = {} if value.nil? self.body = value['body'] # Unknown type self.event = value['event'] self.seq = value['seq'] self.type = value['type'] self end |