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.
106 107 108 |
# File 'lib/tdiary.rb', line 106 def initialize( path ) @path = path end |
Instance Attribute Details
#path ⇒ Object (readonly)
Returns the value of attribute path.
105 106 107 |
# File 'lib/tdiary.rb', line 105 def path @path end |