Class: Extension::Features::ArgoRuntime

Inherits:
Object
  • Object
show all
Defined in:
lib/project_types/extension/features/argo_runtime.rb

Constant Summary collapse

RUNTIMES =
[
  Runtimes::Admin.new,
  Runtimes::CheckoutPostPurchase.new,
  Runtimes::CheckoutUiExtension.new,
]

Class Method Summary collapse

Class Method Details

.find(cli_package:, identifier:) ⇒ Object



10
11
12
# File 'lib/project_types/extension/features/argo_runtime.rb', line 10

def self.find(cli_package:, identifier:)
  RUNTIMES.find { |runtime| runtime.active_runtime?(cli_package, identifier) }
end