Sha256: ef31895a863955a322df1c77383c5879e181b11539da45487863d9ee073dd1de
Contents?: true
Size: 1 KB
Versions: 7
Compression:
Stored size: 1 KB
Contents
require File.expand_path("../spawn/version", __FILE__) module Evrone module Common module Spawn autoload :Process, File.expand_path("../spawn/process", __FILE__) autoload :SSH, File.expand_path("../spawn/ssh", __FILE__) autoload :Timeout, File.expand_path("../spawn/timeout", __FILE__) autoload :ReadTimeout, File.expand_path("../spawn/read_timeout", __FILE__) autoload :TimeoutError, File.expand_path("../spawn/error", __FILE__) autoload :ReadTimeoutError, File.expand_path("../spawn/error", __FILE__) class << self @@pool_interval = 0.1 def pool_interval @@pool_interval end def pool_interval=(val) @@pool_interval = val end end def open_ssh(*args, &block) Common::Spawn::SSH.open(*args, &block) end def spawn(*args, &block) Common::Spawn::Process.spawn(*args, &block) end end end end
Version data entries
7 entries across 7 versions & 1 rubygems