def safeeval
  return true unless rules
  Timeout.timeout(2) do
...

Ruby Safe evaluation

by https://www.google.com/accounts/o8/id?id=AItOawnAUzCknWDqGzP8RQvXqnBZjVpCGwTjnQI, May 03, 2012 23:56, No refactoring, tagged with ruby, validation, datamapper, timeout, errors, safe, evaluation

This is a safety method I'm...

55502f40dc8b7c769880b10874abc9d0 Talk
def init_scite_buffer
        # Check for allready opened files
        res = @director.send_command('savesession', '/tmp/SciTE.session', false)
...

Ruby Wait for file create

by Fu86, February 27, 2008 20:58, No refactoring, tagged with file, timeout, sleep, block

This method sends a command...

Ee0505bbd355292778077fb662c88f13 Talk