Class: Nested::Redirect

Inherits:
Object
  • Object
show all
Defined in:
lib/nested.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(url) ⇒ Redirect

Returns a new instance of Redirect.



19
20
21
# File 'lib/nested.rb', line 19

def initialize(url)
  @url = url
end

Instance Attribute Details

#urlObject (readonly)

Returns the value of attribute url.



18
19
20
# File 'lib/nested.rb', line 18

def url
  @url
end