Exception: Cuca::BreakControllerException

Inherits:
StandardError
  • Object
show all
Defined in:
lib/cuca/controller.rb

Overview

:nodoc:

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#flagsObject (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