lib/rautomation/adapter/ms_uia/uia_dll.rb in rautomation-0.17.0 vs lib/rautomation/adapter/ms_uia/uia_dll.rb in rautomation-1.0.0

- old
+ new

@@ -216,11 +216,11 @@ strings_from(:SelectList_Selections, search_information) end def self.remove_from_selection(search_information, which_item) case which_item - when Fixnum + when Integer can_throw(:SelectList_RemoveIndex, search_information, which_item) when String can_throw(:SelectList_RemoveValue, search_information, which_item) end end @@ -282,11 +282,11 @@ string_from(:TabControl_Selection, search_information) end def self.select_tab(search_information, which) case which - when Fixnum + when Integer can_throw(:TabControl_SelectByIndex, search_information, which) when String can_throw(:TabControl_SelectByValue, search_information, which) end end @@ -356,10 +356,10 @@ strings_from :Table_GetValues, search_information end def self.table_remove_from_selection(search_information, which_row) case which_row - when Fixnum + when Integer can_throw(:Table_RemoveRowByIndex, search_information, which_row) when String can_throw(:Table_RemoveRowByValue, search_information, which_row) end end