Class: MuchRails::Action::BaseResult
- Inherits:
-
Object
- Object
- MuchRails::Action::BaseResult
- Defined in:
- lib/much-rails/action/base_result.rb
Overview
MuchRails::Action::BaseResult is a base result returned by calling a view action. Its only purpose is to provide an ‘execute_block` that defines what commands the controller should execute. This block is called using `instance_exec` in the scope of the controller.
Direct Known Subclasses
Instance Method Summary collapse
Instance Method Details
#execute_block ⇒ Object
11 12 13 |
# File 'lib/much-rails/action/base_result.rb', line 11 def execute_block raise NotImplementedError end |