Class: MultiGit::TreeEntry
Abstract
- Inherits:
-
Object
- Object
- MultiGit::TreeEntry
show all
- Extended by:
- Forwardable
- Includes:
- Object, Base
- Defined in:
- lib/multi_git/tree_entry.rb
Overview
A tree entry is a Object or a Builder that knows its parent tree and therefore supports several additional operations.
Defined Under Namespace
Modules: Base
Classes: Builder
Instance Attribute Summary collapse
Attributes included from Base
#name, #parent
Attributes included from Object
#oid, #repository
Instance Method Summary
collapse
Methods included from Base
#mode, #path, #with_parent
#abstract
Methods included from Walkable
#walk
Methods included from Object
#bytesize, #content, #to_io
Instance Attribute Details
99
100
101
|
# File 'lib/multi_git/tree_entry.rb', line 99
def object
@object
end
|
Instance Method Details
#to_builder ⇒ Object
108
109
110
|
# File 'lib/multi_git/tree_entry.rb', line 108
def to_builder
self.class::Builder.new(parent, name, object)
end
|