Method: CachedDeploy#source

Defined in:
lib/chef-deploy/cached_deploy.rb

#sourceObject



190
191
192
193
194
195
196
197
# File 'lib/chef-deploy/cached_deploy.rb', line 190

def source
  @source ||= case configuration[:scm]
  when 'git'
    Git.new configuration
  when 'svn'
    Subversion.new configuration
  end
end