lib/travian_bot/application.rb in travian_bot-0.2.1 vs lib/travian_bot/application.rb in travian_bot-0.2.2

- old
+ new

@@ -23,20 +23,22 @@ return 1 end def current_avaible_buildings + @game ||= login h2 'Avaible buildings' buildings = avaible_buildings(@game) buildings.each do |building| puts building.to_s end new_line end def current_building_queue + @game ||= login h2('Current building queue') buildings = building_queue(@game) if buildings.empty? text 'nothing building' @@ -47,9 +49,10 @@ new_line end end def current_troop_movements + @game ||= login h2('Current troop movement') troops = troop_movement(@game) if troops.empty? text 'No troops movement'