From 646304a6e7c3b2c442a0a7db995629e7009c3a14 Mon Sep 17 00:00:00 2001 From: scott Chacon Date: Sun, 11 Nov 2007 17:59:18 -0800 Subject: added documentation and a license file --- doc/classes/Git/Path.src/M000117.html | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 doc/classes/Git/Path.src/M000117.html (limited to 'doc/classes/Git/Path.src/M000117.html') diff --git a/doc/classes/Git/Path.src/M000117.html b/doc/classes/Git/Path.src/M000117.html new file mode 100644 index 0000000..3dbb37e --- /dev/null +++ b/doc/classes/Git/Path.src/M000117.html @@ -0,0 +1,22 @@ + + + + + + new (Git::Path) + + + + +
# File lib/git/path.rb, line 6
+    def initialize(path, check_path = true)
+      if !check_path || File.exists?(path)
+        @path = File.expand_path(path)
+      else
+        raise ArgumentError, "path does not exist", File.expand_path(path)
+      end
+    end
+ + \ No newline at end of file -- cgit