#106
best refactorer
Vanson Samuel
No code submission,
3 refactorings,
Hash[*{:a => "a", :b => "thisisb", :c => "c", :d => "thiswasb", :e => "34" }.collect { |k, v|
[k, v] if [:a, :b, :c].include?(k)
}.compact.flatten]
class RetryLoop
# This method will attempt to run the passed block retry_num times.
# If the block returns false on a run it will simply go to the next
...
/* Expecting inputs to have the following attributes: class, initialValue, and actualType
* Searches for inputs with the class set to resetting_inputs and sets them to an initial text value of initialValue
* On click blanks out the input and sets the type to actualType
...