class Git::Path
Attributes
Public Class Methods
Source
# File lib/git/path.rb, line 7 def initialize(path, check_path=true) path = File.expand_path(path) if check_path && !File.exist?(path) raise ArgumentError, 'path does not exist', [path] end @path = path end