module BrickAndMortar::Git
Public Class Methods
clone_repo(url, name = nil, options = {})
click to toggle source
# File lib/brick_and_mortar/git.rb, line 5 def self.clone_repo(url, name = nil, options = {}) unless name name = File.basename(url, File.extname(url)) end ::Git.clone(url, name, options) end