Module: Workflow::Specification::TaggedWith
- Defined in:
- lib/workflow/specification.rb
Instance Method Summary collapse
Instance Method Details
#not_tagged_with(*tags) ⇒ Object
162 163 164 165 |
# File 'lib/workflow/specification.rb', line 162 def not_tagged_with(*) = [].flatten reject { |item| (item. & ).any? } end |
#tagged_with(*tags) ⇒ Object
157 158 159 160 |
# File 'lib/workflow/specification.rb', line 157 def tagged_with(*) = [].flatten select { |item| (item. & ).any? } end |