summaryrefslogtreecommitdiffstats
path: root/lib/git/base.rb
diff options
context:
space:
mode:
authorscott Chacon <schacon@agadorsparticus.corp.reactrix.com>2007-11-08 17:07:04 -0800
committerscott Chacon <schacon@agadorsparticus.corp.reactrix.com>2007-11-08 17:07:04 -0800
commit1f63953f05a4afe74f881d54f69f77da513939d5 (patch)
tree5fabd81a82d8aa3df0e9cdc10b0ed7f6ff141b8a /lib/git/base.rb
parentb18bca3b853dee6a7bc86f09921aa3b1ee3f3d7b (diff)
downloadthird_party-ruby-git-1f63953f05a4afe74f881d54f69f77da513939d5.tar.gz
third_party-ruby-git-1f63953f05a4afe74f881d54f69f77da513939d5.tar.xz
third_party-ruby-git-1f63953f05a4afe74f881d54f69f77da513939d5.zip
moved the git objects into the object.rb file
Diffstat (limited to 'lib/git/base.rb')
-rw-r--r--lib/git/base.rb10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/git/base.rb b/lib/git/base.rb
index c943b86..3c10389 100644
--- a/lib/git/base.rb
+++ b/lib/git/base.rb
@@ -49,6 +49,11 @@ module Git
@index
end
+ # factory methods
+
+ def object(objectish)
+ Git::Object.new(self, objectish)
+ end
def log(count = 30)
Git::Log.new(self, count)
@@ -57,11 +62,6 @@ module Git
def lib
Git::Lib.new(self)
end
-
- private
-
- def is_git_dir(dir)
- end
end