Matches a specific set of values
A human-readable description of this matcher
Checks whether the given value exists within the whitelist configured for this matcher.
matcher = StateMachine::WhitelistMatcher.new([:parked, :idling]) matcher.matches?(:parked) # => true matcher.matches?(:first_gear) # => false
[Validate]