Class: MuchRails::Action::RedirectToResult
- Inherits:
-
BaseCommandResult
- Object
- BaseResult
- BaseCommandResult
- MuchRails::Action::RedirectToResult
- Defined in:
- lib/much-rails/action/redirect_to_result.rb
Overview
MuchRails::Action::RedirectToResult is a command result for the ‘redirect_to` controller response command.
Instance Attribute Summary
Attributes inherited from BaseCommandResult
Instance Method Summary collapse
-
#initialize(*redirect_to_args) ⇒ RedirectToResult
constructor
A new instance of RedirectToResult.
- #redirect_to_args ⇒ Object
Methods inherited from BaseCommandResult
Methods inherited from BaseResult
Constructor Details
#initialize(*redirect_to_args) ⇒ RedirectToResult
Returns a new instance of RedirectToResult.
11 12 13 |
# File 'lib/much-rails/action/redirect_to_result.rb', line 11 def initialize(*redirect_to_args) super(:redirect_to, *redirect_to_args) end |
Instance Method Details
#redirect_to_args ⇒ Object
15 16 17 |
# File 'lib/much-rails/action/redirect_to_result.rb', line 15 def redirect_to_args command_args end |