Class: MultiGit::Directory
- Includes:
- Base
- Defined in:
- lib/multi_git/directory.rb
Defined Under Namespace
Modules: Base Classes: Builder
Instance Attribute Summary
Attributes inherited from TreeEntry
Attributes included from TreeEntry::Base
Attributes included from Object
Instance Method Summary collapse
Methods included from Base
Methods included from Tree::Base
#==, #each, #entry, #glob, #hash, #key?, #names, #size, #traverse, #type
Methods included from Walkable
Methods inherited from TreeEntry
Methods included from TreeEntry::Base
Methods included from Utils::AbstractMethods
Methods included from Object
#bytesize, #content, #to_builder, #to_io
Instance Method Details
#entries ⇒ Hash<String, TreeEntry>
102 103 104 105 106 |
# File 'lib/multi_git/directory.rb', line 102 def entries @entries ||= Hash[ object.map{|entry| [entry.name, entry.with_parent(self) ] } ] end |