Sha256: 7c06fdd252f1ee8e92421443ca1089ce8b13d25fa6f72ae75bf50bb73ddc0074

Contents?: true

Size: 325 Bytes

Versions: 2

Compression:

Stored size: 325 Bytes

Contents

module Robot
  module Commands
    class Base
      def self.matches(command)
        raise NotImplementedError, "#{self.class} has not implemented method '#{__method__}'"
      end

      def self.call
        raise NotImplementedError, "#{self.class} has not implemented method '#{__method__}'"
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
robot_rea-0.1.5 lib/robot/commands/base.rb
robot_rea-0.1.4 lib/robot/commands/base.rb