Permalink
Browse files

remove supervise since it was a poor implementation

  • Loading branch information...
1 parent 8281658 commit d2989b9dc2501a6241e97d50a81f526d838ba313 @jordansissel committed Jun 11, 2012
Showing with 1 addition and 27 deletions.
  1. +0 −26 lib/stud/supervise.rb
  2. +1 −1 stud.gemspec
View
@@ -1,26 +0,0 @@
-module Stud
- class Supervisor
- def initialize(*args, &block)
- @args = args
- @block = block
-
- run
- end # def initialize
-
- def run
- while true
- task = Task.new(*@args, &@block)
- begin
- puts :result => task.wait
- rescue => e
- puts e
- puts e.backtrace
- end
- end
- end # def run
- end # class Supervisor
-
- def self.supervise(&block)
- Supervisor.new(&block)
- end # def supervise
-end # module Stud
View
@@ -1,6 +1,6 @@
Gem::Specification.new do |spec|
spec.name = "stud"
- spec.version = "0.0.1"
+ spec.version = "0.0.3"
spec.summary = "stud - common code techniques"
spec.description = "small reusable bits of code I'm tired of writing over " \
"and over. A library form of my software-patterns github repo."

0 comments on commit d2989b9

Please sign in to comment.