class Wombat::LatestRunner

Attributes

cloud[R]
lock_opt[R]
stack[R]
template_opt[R]

Public Class Methods

new(opts) click to toggle source
# File lib/wombat/latest.rb, line 15
def initialize(opts)
  @cloud = opts.cloud.nil? ? "aws" : opts.cloud
end

Public Instance Methods

start() click to toggle source
# File lib/wombat/latest.rb, line 19
def start
  if cloud =~ /aws/
    find_latest_amis
  else
    puts "Unsupported for #{cloud}"
  end
end