Sha256: ed428e40d8ec8b19c45af7515095972296e100dcd40717feaf626c4d67a79906

Contents?: true

Size: 384 Bytes

Versions: 2

Compression:

Stored size: 384 Bytes

Contents

module DeepThought
  module Deployer
    class Deployer
      def initialize
        if self.class.name == 'DeepThought::Deployer::Deployer'
          raise "#{self.class.name} is abstract, you cannot instantiate it directly."
        end
      end

      def setup?(project, config)
        true
      end

      def execute?(deploy, config)
        true
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
deep_thought-0.2.1 lib/deep_thought/deployer/deployer.rb
deep_thought-0.1.1 lib/deep_thought/deployer/deployer.rb