Module: MultiGit::Builder

Extended by:
Utils::AbstractMethods
Included in:
MultiGit::Blob::Builder, Commit::Builder, Tree::Builder, TreeEntry::Builder
Defined in:
lib/multi_git/builder.rb

Overview

Builders provides simple interfaces to create complex structures like trees and commits.

Instance Method Summary collapse

Methods included from Utils::AbstractMethods

abstract

Instance Method Details

#>>(repository) ⇒ MultiGit::Object

This method is abstract.

Writes the content of this builder to the given repository.

Parameters:

Returns:



12
# File 'lib/multi_git/builder.rb', line 12

abstract :>>

#to_builderself

Returns self.

Returns:

  • (self)

    self



15
16
17
# File 'lib/multi_git/builder.rb', line 15

def to_builder
  self
end