Class: Controll::Flow::ActionMapper::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/controll/flow/action_mapper/base.rb

Direct Known Subclasses

Complex, Simple

Class Method Summary collapse

Class Method Details

.action(controller, event) ⇒ Object

Raises:

  • (NotImplementedError)


8
9
10
# File 'lib/controll/flow/action_mapper/base.rb', line 8

def action controller, event
  raise NotImplementedError, 'You must implement the #action class method'
end

.path_action_classObject



4
5
6
# File 'lib/controll/flow/action_mapper/base.rb', line 4

def path_action_class
  Controll::Flow::Action::PathAction
end