Exception: Zena::Use::Rendering::Redirect

Inherits:
Exception
  • Object
show all
Defined in:
lib/zena/use/rendering.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#urlObject (readonly)

Returns the value of attribute url.



7
8
9
# File 'lib/zena/use/rendering.rb', line 7

def url
  @url
end