8 9 10 11 12 13
# File 'lib/syntaxer/repository.rb', line 8 def self.factory(root_path, type_of_repository) case type_of_repository.to_sym when :git then Git.new(root_path) when :svn then Svn.new(root_path) end end