module BlueShell

Constants

VERSION

Attributes

timeout[RW]

Public Class Methods

with_timeout(timeout) { || ... } click to toggle source
# File lib/blue-shell.rb, line 5
def with_timeout(timeout)
  old_timeout = self.timeout
  self.timeout = timeout
  yield
ensure
  self.timeout = old_timeout
end