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