Sha256: 997a98f3c63a620cb6cb000a19f5408fb816f40367f8393a0618f11c5b86a56b
Contents?: true
Size: 397 Bytes
Versions: 29
Compression:
Stored size: 397 Bytes
Contents
class Indocker::Repositories::NoSync < Indocker::Repositories::Abstract attr_reader :root_path def setup(root_path) @root_path = File.expand_path(root_path) self end def project_name root_path.split('/').last end def root_path @root_path || (raise ArgumentError.new("root path was not set. Set it using setup method")) end def clone_path root_path end end
Version data entries
29 entries across 29 versions & 1 rubygems