Do not document poor man's fiber

This commit is contained in:
Stephen Sykes 2013-05-08 16:45:17 +03:00
parent bed58919a8
commit ef48448ad0

View File

@ -4,9 +4,10 @@
unless defined? Fiber
require 'thread'
class FiberError < StandardError; end
class FiberError < StandardError; # :nodoc:
end
class Fiber
class Fiber # :nodoc:
def initialize
raise ArgumentError, 'new Fiber requires a block' unless block_given?
@ -53,7 +54,7 @@ unless defined? Fiber
end
end
class RootFiber < Fiber
class RootFiber < Fiber # :nodoc:
def initialize
# XXX: what is a root fiber anyway?
end