Class: Kiba::Extend::Command::Jobs::TaggedAnd

Inherits:
Object
  • Object
show all
Defined in:
lib/kiba/extend/command/jobs/tagged_and.rb

Class Method Summary collapse

Class Method Details

.call(tags) ⇒ Object



8
9
10
11
12
13
14
# File 'lib/kiba/extend/command/jobs/tagged_and.rb', line 8

def self.call(tags)
  result = Kiba::Extend::Registry::RegistryEntrySelector.new
    .tagged_all(tags)
  return [] if result.empty?

  result
end