lib/rcmd.rb in rcmd-1.5.8 vs lib/rcmd.rb in rcmd-1.6.0
- old
+ new
@@ -1,6 +1,7 @@
require "rcmd/version"
+require "rcmd/db"
require 'net/ssh'
require 'thread'
=begin rdoc
@@ -14,11 +15,13 @@
module Rcmd
STDOUT.sync = true
STDERR.sync = true
@queue = Queue.new
- # Self class for setting up accessors
+=begin rdoc
+Self class for setting up accessors
+=end
class << self
# Prefered/requested number of threads to be used. (Manditory)
attr_accessor :nthreads
@@ -122,6 +125,5 @@
unless @threads.each.map {|t| t.alive?}.none?
sleep 1
end
end
end
-