Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

remove supervise since it was a poor implementation

  • Loading branch information...
commit d2989b9dc2501a6241e97d50a81f526d838ba313 1 parent 8281658
Jordan Sissel authored June 10, 2012
26  lib/stud/supervise.rb
... ...
@@ -1,26 +0,0 @@
1  
-module Stud
2  
-  class Supervisor
3  
-    def initialize(*args, &block)
4  
-      @args = args
5  
-      @block = block
6  
-
7  
-      run
8  
-    end # def initialize
9  
-
10  
-    def run
11  
-      while true
12  
-        task = Task.new(*@args, &@block)
13  
-        begin
14  
-          puts :result => task.wait
15  
-        rescue => e
16  
-          puts e
17  
-          puts e.backtrace
18  
-        end
19  
-      end
20  
-    end # def run
21  
-  end # class Supervisor
22  
-
23  
-  def self.supervise(&block)
24  
-    Supervisor.new(&block)
25  
-  end # def supervise
26  
-end # module Stud
2  stud.gemspec
... ...
@@ -1,6 +1,6 @@
1 1
 Gem::Specification.new do |spec|
2 2
   spec.name = "stud"
3  
-  spec.version = "0.0.1"
  3
+  spec.version = "0.0.3"
4 4
   spec.summary = "stud - common code techniques"
5 5
   spec.description = "small reusable bits of code I'm tired of writing over " \
6 6
     "and over. A library form of my software-patterns github repo."

0 notes on commit d2989b9

Please sign in to comment.
Something went wrong with that request. Please try again.