Module: EacGit::Local::Remotes
- Defined in:
- lib/eac_git/local/remotes.rb
Instance Method Summary collapse
Instance Method Details
#remote(name) ⇒ Object
9 10 11 |
# File 'lib/eac_git/local/remotes.rb', line 9 def remote(name) ::EacGit::Local::Remote.new(self, name) end |
#remotes ⇒ Object
13 14 15 16 17 |
# File 'lib/eac_git/local/remotes.rb', line 13 def remotes command('remote').execute!.each_line.map(&:strip).compact_blank.map do |name| remote(name) end end |