Update beacon_manager.rb

allow to choose range method