Class: Silo::Remote::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/silo/remote/base.rb

Overview

This class represents a standard Git remote attached to the Git repository backing the Silo repository

Direct Known Subclasses

Git

Instance Attribute Summary (collapse)

Instance Method Summary (collapse)

Constructor Details

- (Base) initialize(repo, name)

Creates a new remote with the specified name



24
25
26
27
# File 'lib/silo/remote/base.rb', line 24

def initialize(repo, name)
  @name = name
  @repo = repo
end

Instance Attribute Details

- (String) name (readonly)



15
16
17
# File 'lib/silo/remote/base.rb', line 15

def name
  @name
end

- (String) url (readonly)



18
19
20
# File 'lib/silo/remote/base.rb', line 18

def url
  @url
end