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 | 58c349d311cbcd02852432427245c988248c2a85 (patch) | |
tree | 3280d67ecf8a4eb5c0142ec625e1aa5cc7728ba6 /lib/generator.rb | |
parent | 55a10eac56d24eed8bf45548676e17d644ce8d2f (diff) | |
download | ruby-58c349d311cbcd02852432427245c988248c2a85.tar.gz ruby-58c349d311cbcd02852432427245c988248c2a85.tar.xz ruby-58c349d311cbcd02852432427245c988248c2a85.zip |
* lib/generator.rb: corrected doc format
* lib/rinda/rinda.rb: added documentation (from Hugh Sasse)
* lib/rinda/tuplespace.rb: ditto
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5730 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/generator.rb')
-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 196fc8f48..805e7a263 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 # |