class Syntaxer::Repository
Public Class Methods
factory(root_path, type_of_repository)
click to toggle source
# 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