Matches any given value. Since there is no configuration for this type of matcher, it must be used as a singleton.
Generates a blacklist matcher based on the given set of values
matcher = StateMachine::AllMatcher.instance - [:parked, :idling] matcher.matches?(:parked) # => false matcher.matches?(:first_gear) # => true
# File lib/state_machine/matcher.rb, line 35 def -(blacklist) BlacklistMatcher.new(blacklist) end
A human-readable description of this matcher. Always "all".
# File lib/state_machine/matcher.rb, line 50 def description 'all' end
Generated with the Darkfish Rdoc Generator 2.