Sha256: 6a5b03aebeaebf43b89a448752a408b1af4797c2fac5dced17a984680285b442
Contents?: true
Size: 389 Bytes
Versions: 15
Compression:
Stored size: 389 Bytes
Contents
# encoding: utf-8 require 'fedux_org_stdlib/require_files' require_library %w(rugged addressable/uri) module FeduxOrgStdlib class RemoteRepository private attr_reader :url public def initialize(url) @url = Addressable::URI.heuristic_parse(url) end def clone_to(directory) system("git clone #{url} #{directory} >/dev/null 2>&1") end end end
Version data entries
15 entries across 15 versions & 1 rubygems