This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| def recursion | |
| raise Exception | |
| rescue Exception | |
| recursion | |
| end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| def quicksort(array) | |
| return [] if array.empty? | |
| less, more, pivot = [], [], array[0] | |
| array[1..-1].each { |x| (x <= pivot ? less : more) << x } | |
| quicksort(less) + [pivot] + quicksort(more) | |
| end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # This file is located in "robot" folder | |
| *** Settings *** | |
| Documentation CommonResource file with KWs | |
| Library OperatingSystem | |
| *** Variables *** | |
| ${SRC_PATH} ../../src/ | |
| *** Keywords *** |
NewerOlder