Module: XcodeBuilder::ReleaseStrategies

Defined in:
lib/xcode_builder/release_strategies.rb,
lib/xcode_builder/release_strategies/git.rb

Defined Under Namespace

Classes: Git, ReleaseStrategy

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.build(strategy_name, configuration) ⇒ Object



7
8
9
# File 'lib/xcode_builder/release_strategies.rb', line 7

def self.build(strategy_name, configuration)
  strategies[strategy_name.to_sym].new(configuration)
end

.valid_strategy?(strategy_name) ⇒ Boolean

Returns:

  • (Boolean)


3
4
5
# File 'lib/xcode_builder/release_strategies.rb', line 3

def self.valid_strategy?(strategy_name)
  strategies.keys.include?(strategy_name.to_sym)
end

Instance Method Details

#prepareObject



21
22
23
# File 'lib/xcode_builder/release_strategies.rb', line 21

def prepare
  puts "Nothing to prepare!" if @configuration.verbose
end