lib/nesser.rb
##
# Pauses as long as the listener thread is alive (generally, that means
# indefinitely).
##
Pauses as long as the listener thread is alive (generally, that means
indefinitely).
Pauses as long as the listener thread is alive ( generally that means indefinitely ) .
def wait()
      if(@thread.nil?)
        @logger.error("Tried to wait on a Nesser instance that wasn't listening!")
        return
      end
      @thread.join()
    end
def wait ( ) if ( @thread . nil? ) @logger . error ( "Tried to wait on a Nesser instance that wasn't listening!" ) return end @thread . join ( ) end
Pauses as long as the listener thread is alive (generally, that means
indefinitely).
Pauses as long as the listener thread is alive ( generally that means indefinitely ) .