annotate .svn/pristine/35/351ed79f1a1eb0a05256bd9bbc96463418f0bb9b.svn-base @ 1327:287f201c2802 redmine-2.2-integration

Add italic
author Chris Cannam <chris.cannam@soundsoftware.ac.uk>
date Wed, 19 Jun 2013 20:56:22 +0100
parents cbb26bc654de
children
rev   line source
Chris@909 1 module Redmine
Chris@909 2 module Scm
Chris@909 3 class Base
Chris@909 4 class << self
Chris@909 5
Chris@909 6 def all
Chris@909 7 @scms
Chris@909 8 end
Chris@909 9
Chris@909 10 # Add a new SCM adapter and repository
Chris@909 11 def add(scm_name)
Chris@909 12 @scms ||= []
Chris@909 13 @scms << scm_name
Chris@909 14 end
Chris@909 15
Chris@909 16 # Remove a SCM adapter from Redmine's list of supported scms
Chris@909 17 def delete(scm_name)
Chris@909 18 @scms.delete(scm_name)
Chris@909 19 end
Chris@909 20 end
Chris@909 21 end
Chris@909 22 end
Chris@909 23 end