Class: EySecrets::Git
- Inherits:
-
Struct
- Object
- Struct
- EySecrets::Git
- Defined in:
- lib/ey_secrets/adapters/git.rb
Instance Attribute Summary collapse
-
#path ⇒ Object
Returns the value of attribute path.
Class Method Summary collapse
Instance Method Summary collapse
Instance Attribute Details
#path ⇒ Object
Returns the value of attribute path
2 3 4 |
# File 'lib/ey_secrets/adapters/git.rb', line 2 def path @path end |
Class Method Details
.repository(path) ⇒ Object
3 4 5 |
# File 'lib/ey_secrets/adapters/git.rb', line 3 def self.repository(path) new(path).repository end |
Instance Method Details
#repository ⇒ Object
7 8 9 |
# File 'lib/ey_secrets/adapters/git.rb', line 7 def repository Repository.new(remotes, files, in_sync?) end |