enum Opal::Input::Core::ConflictPolicy

Overview

Policy for handling duplicate binding assignments during interactive capture.

Defined in:

opal/input/core/remap_model.cr

Enum Members

Allow = 0
Swap = 1
Replace = 2
Block = 3

Constructors

Instance Method Summary

Constructor Detail

def self.parse_policy(value : ConflictPolicy | Symbol | String) : ConflictPolicy #

[View source]

Instance Method Detail

def allow? #

Returns true if this enum value equals Allow


[View source]
def block? #

Returns true if this enum value equals Block


[View source]
def replace? #

Returns true if this enum value equals Replace


[View source]
def swap? #

Returns true if this enum value equals Swap


[View source]