Class: FakeGit::FetchObject
- Inherits:
-
Object
- Object
- FakeGit::FetchObject
- Defined in:
- lib/fake_git/fetch_object.rb
Constant Summary collapse
- OBJ_PATH =
".fakegit/objects"
Instance Method Summary collapse
Instance Method Details
#call(*args) ⇒ Object
6 7 8 9 10 |
# File 'lib/fake_git/fetch_object.rb', line 6 def call(*args) index, _ = args.first.split(" ") path = file_path(index) build_obj(path) end |