Exception: TDiary::ForceRedirect

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

Overview

class ForceRedirect

force redirect to another page

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(path) ⇒ ForceRedirect

Returns a new instance of ForceRedirect.



104
105
106
# File 'lib/tdiary.rb', line 104

def initialize( path )
	@path = path
end

Instance Attribute Details

#pathObject (readonly)

Returns the value of attribute path.



103
104
105
# File 'lib/tdiary.rb', line 103

def path
  @path
end