data Bezel::PlugSkip

A skip of a plug: before the actions only names (all when it and except are empty), but those except names.

src/controller.qz:298

Methods

def only -> Array[Symbol]

src/controller.qz:298

def except -> Array[Symbol]

src/controller.qz:298

def to_h -> Hash[Symbol, Object]

The fields as a Hash, by name.

src/controller.qz:300

def with(*, only: Array[Symbol] = …, except: Array[Symbol] = …) -> Bezel::PlugSkip

A copy with the fields given replaced.

src/controller.qz:300

def covers?(action: Symbol) -> Bool

Whether the skip keeps the plug from running before action.

src/controller.qz:300