enum

Phosphor::CmdResult

Inherits Enum < Comparable < Value < Object

Returned by MockWidget#handle_cmd to direct the View's response.

  • None — command handled; widget appearance unchanged, no repaint needed.
  • Rerender — command handled and widget state changed; schedule a repaint.
  • Bubble — command not consumed; forward it to the parent container.

Constants

None = 0
Rerender = 1
Bubble = 2

Instance methods

bubble?

Returns true if this enum value equals Bubble

Source
none?

Returns true if this enum value equals None

Source
rerender?

Returns true if this enum value equals Rerender

Source