Exception: Zena::Use::Rendering::Redirect
- Inherits:
-
Exception
- Object
- Exception
- Zena::Use::Rendering::Redirect
- Defined in:
- lib/zena/use/rendering.rb
Instance Attribute Summary collapse
-
#url ⇒ Object
readonly
Returns the value of attribute url.
Instance Method Summary collapse
-
#initialize(url) ⇒ Redirect
constructor
A new instance of Redirect.
Constructor Details
#initialize(url) ⇒ Redirect
Returns a new instance of Redirect.
9 10 11 |
# File 'lib/zena/use/rendering.rb', line 9 def initialize(url) @url = url end |
Instance Attribute Details
#url ⇒ Object (readonly)
Returns the value of attribute url.
7 8 9 |
# File 'lib/zena/use/rendering.rb', line 7 def url @url end |