Class: Silo::Remote::Base
- Inherits:
-
Object
- Object
- Silo::Remote::Base
- 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
Instance Attribute Summary (collapse)
-
- (String) name
readonly
The name of this remote.
-
- (String) url
readonly
The URL of this remote.
Instance Method Summary (collapse)
-
- (Base) initialize(repo, name)
constructor
Creates a new remote with the specified name.
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)
The name of this remote
15 16 17 |
# File 'lib/silo/remote/base.rb', line 15 def name @name end |
- (String) url (readonly)
The URL of this remote
18 19 20 |
# File 'lib/silo/remote/base.rb', line 18 def url @url end |