Sha256: fc120afb7fa45260e78df978944a76842933dc6f310d01af874fb83f942b75c0

Contents?: true

Size: 209 Bytes

Versions: 10

Compression:

Stored size: 209 Bytes

Contents

class KuberKit::ServiceGenerator::StrategyDetector
  Contract KuberKit::Core::Service => Symbol
  def call(service)
    service.generator_strategy || KuberKit.current_configuration.generator_strategy
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
kuber_kit-1.3.8 lib/kuber_kit/service_generator/strategy_detector.rb
kuber_kit-1.3.7 lib/kuber_kit/service_generator/strategy_detector.rb
kuber_kit-1.1.8 lib/kuber_kit/service_generator/strategy_detector.rb
kuber_kit-1.3.6 lib/kuber_kit/service_generator/strategy_detector.rb
kuber_kit-1.1.7 lib/kuber_kit/service_generator/strategy_detector.rb
kuber_kit-1.3.5 lib/kuber_kit/service_generator/strategy_detector.rb
kuber_kit-1.3.4 lib/kuber_kit/service_generator/strategy_detector.rb
kuber_kit-1.1.6 lib/kuber_kit/service_generator/strategy_detector.rb
kuber_kit-1.3.3 lib/kuber_kit/service_generator/strategy_detector.rb
kuber_kit-1.3.2 lib/kuber_kit/service_generator/strategy_detector.rb