Module: Workflow::Specification::TaggedWith
- Defined in:
- lib/workflow/specification.rb
Instance Method Summary collapse
Instance Method Details
#not_tagged_with(*tags) ⇒ Object
152 153 154 155 |
# File 'lib/workflow/specification.rb', line 152 def not_tagged_with(*) = [].flatten reject { |item| (item. & ).any? } end |
#tagged_with(*tags) ⇒ Object
147 148 149 150 |
# File 'lib/workflow/specification.rb', line 147 def tagged_with(*) = [].flatten select { |item| (item. & ).any? } end |