Class: Aztec::Parser

Inherits:
Object
  • Object
show all
Defined in:
lib/aztec.rb

Instance Method Summary collapse

Instance Method Details

#parse(repo) ⇒ Object



7
8
9
10
11
12
13
14
15
16
17
18
# File 'lib/aztec.rb', line 7

def parse(repo)
  @repo = repo

  Dir.chdir @repo
  install = install_command
  install.run

  cmd = outdated_command
  updates = cmd.updates

  return updates
end