Class: Releasy::Deployers::Deployer Abstract

Inherits:
Object
  • Object
show all
Includes:
Rake::DSL, Mixins::Log
Defined in:
lib/releasy/deployers/deployer.rb

Overview

This class is abstract.

Direct Known Subclasses

Github, Local, Rsync

Constant Summary collapse

WORKING_CHARACTER =

Printed out while file is being transferred.

"."

Constants included from Mixins::Log

Mixins::Log::DEFAULT_LOG_LEVEL, Mixins::Log::LOG_LEVELS

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Mixins::Log

log_level, log_level=

Constructor Details

#initialize(project) ⇒ Deployer

Returns a new instance of Deployer.



18
19
20
21
# File 'lib/releasy/deployers/deployer.rb', line 18

def initialize(project)
  @project = project
  setup
end

Instance Attribute Details

#projectObject (readonly)

Returns the value of attribute project.



14
15
16
# File 'lib/releasy/deployers/deployer.rb', line 14

def project
  @project
end

Instance Method Details

#typeObject



16
# File 'lib/releasy/deployers/deployer.rb', line 16

def type; self.class::TYPE; end