lib/travian_bot/application/buildings.rb in travian_bot-0.2.0 vs lib/travian_bot/application/buildings.rb in travian_bot-0.2.1

- old
+ new

@@ -1,10 +1,10 @@ -require 'travian_bot/application/navigate' +require 'travian_bot/application/navigation' class TravianBot class Application module Buildings - include TravianBot::Application::Navigate + include TravianBot::Application::Navigation def avaible_buildings(selenium) begin elements = selenium.find_elements(:xpath, '//map[@id="rx"]/area') resources = elements.inject([]) do |out, element|