class Munchsrb::Gather::Starter

Starter starts gather information of Munch's Burger.

Attributes

scenario[R]

Public Class Methods

new() click to toggle source
# File lib/munchsrb/gather/starter.rb, line 11
def initialize
  Munchsrb::Gather.init
  @scenario = ::Munchsrb::Gather::Scenario.new
end

Public Instance Methods

run() click to toggle source
# File lib/munchsrb/gather/starter.rb, line 16
def run
  scenario.execute
  @scenario.details
rescue Munchsrb::GatherError => e
  print("Gather Error occurred! #{e.message}\n")
end