Exception: TDiary::ForceRedirect
- Inherits:
-
StandardError
- Object
- StandardError
- TDiary::ForceRedirect
- Defined in:
- lib/tdiary.rb
Overview
class ForceRedirect
force redirect to another page
Instance Attribute Summary collapse
-
#path ⇒ Object
readonly
Returns the value of attribute path.
Instance Method Summary collapse
-
#initialize(path) ⇒ ForceRedirect
constructor
A new instance of ForceRedirect.
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
#path ⇒ Object (readonly)
Returns the value of attribute path.
103 104 105 |
# File 'lib/tdiary.rb', line 103 def path @path end |