Sha256: abb6774dcdf597e6969a62429e2db0e61670551f3b042abfa8bd2dbc9e284e42

Contents?: true

Size: 421 Bytes

Versions: 1

Compression:

Stored size: 421 Bytes

Contents

require 'minarai/actions/base'
require 'minarai/errors/unknown_action_type_error'

module Minarai
  module Actions
    class Unknown < Base
      def run
        # override
      end

      def error_messages
        [Minarai::Errors::UnknownActionTypeError.new(type)]
      end

      private

      def complete?
        # override
      end

      def name
        super || 'unknow action'
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
minarai-0.0.3 lib/minarai/actions/unknown.rb