Class: MuchRails::Action::BaseResult

Inherits:
Object
  • Object
show all
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.

Instance Method Summary collapse

Instance Method Details

#execute_blockObject

Raises:

  • (NotImplementedError)


11
12
13
# File 'lib/much-rails/action/base_result.rb', line 11

def execute_block
  raise NotImplementedError
end