Module: BetaBuilder::DeploymentStrategies
- Defined in:
- lib/beta_builder/deployment_strategies.rb,
lib/beta_builder/deployment_strategies/web.rb,
lib/beta_builder/deployment_strategies/testflight.rb
Defined Under Namespace
Classes: Strategy, TestFlight, Web
Class Method Summary
collapse
Class Method Details
.build(strategy_name, configuration) ⇒ Object
7
8
9
|
# File 'lib/beta_builder/deployment_strategies.rb', line 7
def self.build(strategy_name, configuration)
strategies[strategy_name.to_sym].new(configuration)
end
|
.valid_strategy?(strategy_name) ⇒ Boolean
3
4
5
|
# File 'lib/beta_builder/deployment_strategies.rb', line 3
def self.valid_strategy?(strategy_name)
strategies.keys.include?(strategy_name.to_sym)
end
|