Sha256: 56eaa15dceae4f564c7dd18c6751284bfe751a8be4e38e8a616105554f225755

Contents?: true

Size: 458 Bytes

Versions: 13

Compression:

Stored size: 458 Bytes

Contents

module Chap
  module Strategy
    class Base
      include SpecialMethods

      attr_reader :options, :config
      def initialize(options={})
        @options = options
        @config = options[:config]
        log "Deploying via #{self.class} strategy".colorize(:green)
      end

      # should download code to the release_path
      def deploy
        raise "Must implement deploy method"
      end

    end # of Base
  end # of Strategy
end # of Chap

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
chap-0.1.3 lib/chap/strategy/base.rb
chap-0.1.2 lib/chap/strategy/base.rb
chap-0.1.1 lib/chap/strategy/base.rb
chap-0.1.0 lib/chap/strategy/base.rb
chap-0.0.9 lib/chap/strategy/base.rb
chap-0.0.8 lib/chap/strategy/base.rb
chap-0.0.7 lib/chap/strategy/base.rb
chap-0.0.6 lib/chap/strategy/base.rb
chap-0.0.5 lib/chap/strategy/base.rb
chap-0.0.4 lib/chap/strategy/base.rb
chap-0.0.3 lib/chap/strategy/base.rb
chap-0.0.2 lib/chap/strategy/base.rb
chap-0.0.1 lib/chap/strategy/base.rb