Method: StateMachine::Matcher#filter
- Defined in:
- lib/state_machine/matcher.rb
#filter(values) ⇒ Object
Generates a subset of values that exists in both the set of values being filtered and the values configured for the matcher
18 19 20 |
# File 'lib/state_machine/matcher.rb', line 18 def filter(values) self.values & values end |