Sha256: 636239fcc93b20f39d10318393ac2b75ab758e843752cc0bc3a0353ca136651e

Contents?: true

Size: 293 Bytes

Versions: 3

Compression:

Stored size: 293 Bytes

Contents

module Controll::Flow::ActionMapper
  class Base
    class << self
      def path_action_class
        Controll::Flow::Action::PathAction
      end

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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
controll-0.3.2 lib/controll/flow/action_mapper/base.rb
controll-0.3.1 lib/controll/flow/action_mapper/base.rb
controll-0.3.0 lib/controll/flow/action_mapper/base.rb