Sha256: 217f63223ff67f0bd14777259d593c4b7d2f822e84a7a2834dad876688512c9b

Contents?: true

Size: 262 Bytes

Versions: 2

Compression:

Stored size: 262 Bytes

Contents

# frozen_string_literal: true

module Deadpull
  module Commands
    class Base
      def self.call(*args)
        new(*args).call
      end

      def call
        raise NotImplementedError, "implement `call` for #{self.class.name}"
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
deadpull-0.1.1 lib/deadpull/commands/base.rb
deadpull-0.1.0 lib/deadpull/commands/base.rb