class Moonshot::Commands::Update
Public Instance Methods
execute()
click to toggle source
# File lib/moonshot/commands/update.rb, line 11 def execute controller.update end
Private Instance Methods
parameter_strategy_factory(value)
click to toggle source
# File lib/moonshot/commands/update.rb, line 17 def parameter_strategy_factory(value) case value.to_sym when :default Moonshot::ParameterStrategy::DefaultStrategy.new when :merge Moonshot::ParameterStrategy::MergeStrategy.new else raise "Unknown parameter strategy: #{value}" end end