class Aztec::Parser

Public Instance Methods

parse(repo) click to toggle source
# 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

Private Instance Methods

argv() click to toggle source
# File lib/aztec.rb, line 30
def argv
  CLAide::ARGV.new []
end
install_command() click to toggle source
# File lib/aztec.rb, line 22
def install_command
  Pod::Command::Install.new argv
end
outdated_command() click to toggle source
# File lib/aztec.rb, line 26
def outdated_command
  Pod::Command::Outdated.new argv
end