Class: TravianBot::Shell

Inherits:
Bombshell::Environment
  • Object
show all
Includes:
Bombshell::Shell, Application::Connection, Application::Display, Application::Hero
Defined in:
lib/travian_bot/shell.rb

Instance Method Summary collapse

Methods included from Application::Display

#h1, #h2, #new_line, #text, #warning

Methods included from Application::Hero

#start_closest_adventure

Methods included from Application::Time

#to_seconds

Methods included from Application::Navigation

#to_hero_quest_page, #to_map_page, #to_reports_page, #to_resources_page, #to_stats_page, #to_village_page

Methods included from Application::Connection

#get_credentials, #login

Instance Method Details

#helpObject



21
22
23
# File 'lib/travian_bot/shell.rb', line 21

def help
  h1 'Help'
end

#start_questObject



17
18
19
# File 'lib/travian_bot/shell.rb', line 17

def start_quest
  start_closest_adventure @browser
end