Exception: AppEngine::Exec::UnsupportedStrategy
- Inherits:
-
UsageError
- Object
- StandardError
- UsageError
- AppEngine::Exec::UnsupportedStrategy
- Defined in:
- lib/appengine/exec.rb
Overview
Unsupported strategy
Instance Attribute Summary collapse
-
#app_env ⇒ Object
readonly
Returns the value of attribute app_env.
-
#strategy ⇒ Object
readonly
Returns the value of attribute strategy.
Instance Method Summary collapse
-
#initialize(strategy, app_env) ⇒ UnsupportedStrategy
constructor
A new instance of UnsupportedStrategy.
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_env ⇒ Object (readonly)
Returns the value of attribute app_env.
265 266 267 |
# File 'lib/appengine/exec.rb', line 265 def app_env @app_env end |
#strategy ⇒ Object (readonly)
Returns the value of attribute strategy.
264 265 266 |
# File 'lib/appengine/exec.rb', line 264 def strategy @strategy end |