Exception: AppEngine::Exec::UnsupportedStrategy

Inherits:
UsageError
  • Object
show all
Defined in:
lib/appengine/exec.rb

Overview

Unsupported strategy

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(strategy, app_env) ⇒ UnsupportedStrategy

Returns a new instance of UnsupportedStrategy.



258
259
260
261
262
263
# File 'lib/appengine/exec.rb', line 258

def initialize strategy, app_env
  @strategy = strategy
  @app_env = app_env
  super "Strategy \"#{strategy}\" not supported for the #{app_env}" \
        " environment"
end

Instance Attribute Details

#app_envObject (readonly)

Returns the value of attribute app_env.



265
266
267
# File 'lib/appengine/exec.rb', line 265

def app_env
  @app_env
end

#strategyObject (readonly)

Returns the value of attribute strategy.



264
265
266
# File 'lib/appengine/exec.rb', line 264

def strategy
  @strategy
end