diff options
author | gsinclair <gsinclair@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-02-16 13:24:07 +0000 |
---|---|---|
committer | gsinclair <gsinclair@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-02-16 13:24:07 +0000 |
commit | 0dea051ea19b57d12f8d9642079695aea4753081 (patch) | |
tree | 3280d67ecf8a4eb5c0142ec625e1aa5cc7728ba6 /lib | |
parent | 142b1b9503ae58d6548a304faa743b3c67288ec2 (diff) | |
download | ruby-0dea051ea19b57d12f8d9642079695aea4753081.tar.gz |
* lib/generator.rb: corrected doc format
* lib/rinda/rinda.rb: added documentation (from Hugh Sasse)
* lib/rinda/tuplespace.rb: ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5730 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
-rw-r--r-- | lib/generator.rb | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/lib/generator.rb b/lib/generator.rb index 196fc8f483..805e7a2630 100644 --- a/lib/generator.rb +++ b/lib/generator.rb @@ -1,16 +1,17 @@ #!/usr/bin/env ruby -# -# generator.rb - converts an internal iterator to an external iterator +#-- +# $Idaemons: /home/cvs/rb/generator.rb,v 1.8 2001/10/03 08:54:32 knu Exp $ +# $RoughId: generator.rb,v 1.10 2003/10/14 19:36:58 knu Exp $ +# $Id$ #++ +# +# = generator.rb: convert an internal iterator to an external one +# # Copyright (c) 2001,2003 Akinori MUSHA <knu@iDaemons.org> # # All rights reserved. You can redistribute and/or modify it under # the same terms as Ruby. # -# $Idaemons: /home/cvs/rb/generator.rb,v 1.8 2001/10/03 08:54:32 knu Exp $ -# $RoughId: generator.rb,v 1.10 2003/10/14 19:36:58 knu Exp $ -# $Id$ -# # == Overview # # This library provides the Generator class, which converts an @@ -22,12 +23,13 @@ # # See the respective classes for examples of usage. + # # Generator converts an internal iterator (i.e. an Enumerable object) # to an external iterator. # # Note that it is not very fast since it is implemented using -# continuation, which currently is slow. +# continuations, which are currently slow. # # == Example # |