Exception: Cuca::BreakControllerException
- Inherits:
-
StandardError
- Object
- StandardError
- Cuca::BreakControllerException
- Defined in:
- lib/cuca/controller.rb
Overview
:nodoc:
Instance Attribute Summary collapse
-
#flags ⇒ Object
readonly
flags can be: :layout => ‘new_layout’ or false :redirect => ‘/to/new/url’ = dont render, just redirect :error => “something happend” = display an application error.
Instance Method Summary collapse
-
#initialize(flags = {}) ⇒ BreakControllerException
constructor
A new instance of BreakControllerException.
Constructor Details
#initialize(flags = {}) ⇒ BreakControllerException
Returns a new instance of BreakControllerException.
10 11 12 |
# File 'lib/cuca/controller.rb', line 10 def initialize(flags = {}) @flags = flags end |
Instance Attribute Details
#flags ⇒ Object (readonly)
flags can be: :layout => ‘new_layout’ or false :redirect => ‘/to/new/url’ = dont render, just redirect :error => “something happend” = display an application error
9 10 11 |
# File 'lib/cuca/controller.rb', line 9 def flags @flags end |