diff options
author | Eric Wong <normalperson@yhbt.net> | 2010-10-26 21:13:10 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2010-10-26 21:13:10 +0000 |
commit | 567e6ce5dba5ad2cca2cca8c64123e27939bff2b (patch) | |
tree | b2953780cd039c5e807f3bc64da5a2e30a4f7488 /lib/rainbows/fiber/io | |
parent | 894cb73887c106acc793f0317ee849ae215ead56 (diff) | |
download | rainbows-567e6ce5dba5ad2cca2cca8c64123e27939bff2b.tar.gz |
Once again we avoid documenting internals on the public website and use code comments for other developers.
Diffstat (limited to 'lib/rainbows/fiber/io')
-rw-r--r-- | lib/rainbows/fiber/io/compat.rb | 3 | ||||
-rw-r--r-- | lib/rainbows/fiber/io/methods.rb | 5 |
2 files changed, 8 insertions, 0 deletions
diff --git a/lib/rainbows/fiber/io/compat.rb b/lib/rainbows/fiber/io/compat.rb index 2aaf416..32ec782 100644 --- a/lib/rainbows/fiber/io/compat.rb +++ b/lib/rainbows/fiber/io/compat.rb @@ -1,4 +1,7 @@ # -*- encoding: binary -*- +# :enddoc: +# +# Used to make Rainbows::Fiber::IO behave like 0.97.0 and earlier module Rainbows::Fiber::IO::Compat def initialize(io, fiber = Fiber.current) @to_io, @f = io, fiber diff --git a/lib/rainbows/fiber/io/methods.rb b/lib/rainbows/fiber/io/methods.rb index 663fdb4..941a68c 100644 --- a/lib/rainbows/fiber/io/methods.rb +++ b/lib/rainbows/fiber/io/methods.rb @@ -1,5 +1,10 @@ # -*- encoding: binary -*- +# +# :enddoc: +# this is used to augment Kgio::Socket and Kgio::Pipe-enhanced classes +# for use with Rainbows! Do no use this directly, see +# Rainbows::Fiber::IO::Pipe and Rainbows::Fiber::IO::Socket instead. module Rainbows::Fiber::IO::Methods RD = Rainbows::Fiber::RD WR = Rainbows::Fiber::WR |