lib/thread/pipe.rb in thread-0.1.3 vs lib/thread/pipe.rb in thread-0.1.4
- old
+ new
@@ -12,10 +12,10 @@
# A pipe lets you execute various tasks on a set of data in parallel,
# each datum inserted in the pipe is passed along through queues to the various
# functions composing the pipe, the final result is inserted in the final queue.
class Thread::Pipe
- # A task incapsulates a part of the pipe.
+ # A task encapsulates a part of the pipe.
class Task
attr_accessor :input, :output
# Create a Task which will call the passed function and get input
# from the optional parameter and put output in the optional parameter.