зеркало из https://github.com/github/ruby.git
* 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
This commit is contained in:
Родитель
142b1b9503
Коммит
0dea051ea1
|
@ -1,3 +1,9 @@
|
||||||
|
Mon Feb 16 22:22:00 2004 Gavin Sinclair <gsinclair@soyabean.com.au>
|
||||||
|
|
||||||
|
* lib/generator.rb: corrected doc format
|
||||||
|
* lib/rinda/rinda.rb: added documentation (from Hugh Sasse)
|
||||||
|
* lib/rinda/tuplespace.rb: ditto
|
||||||
|
|
||||||
Mon Feb 16 20:28:52 2004 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
|
Mon Feb 16 20:28:52 2004 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
|
||||||
|
|
||||||
* bcc32/Makefile.sub: show more warnings. (refering to mingw)
|
* bcc32/Makefile.sub: show more warnings. (refering to mingw)
|
||||||
|
|
|
@ -1,16 +1,17 @@
|
||||||
#!/usr/bin/env ruby
|
#!/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>
|
# Copyright (c) 2001,2003 Akinori MUSHA <knu@iDaemons.org>
|
||||||
#
|
#
|
||||||
# All rights reserved. You can redistribute and/or modify it under
|
# All rights reserved. You can redistribute and/or modify it under
|
||||||
# the same terms as Ruby.
|
# 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
|
# == Overview
|
||||||
#
|
#
|
||||||
# This library provides the Generator class, which converts an
|
# This library provides the Generator class, which converts an
|
||||||
|
@ -22,12 +23,13 @@
|
||||||
#
|
#
|
||||||
# See the respective classes for examples of usage.
|
# See the respective classes for examples of usage.
|
||||||
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# Generator converts an internal iterator (i.e. an Enumerable object)
|
# Generator converts an internal iterator (i.e. an Enumerable object)
|
||||||
# to an external iterator.
|
# to an external iterator.
|
||||||
#
|
#
|
||||||
# Note that it is not very fast since it is implemented using
|
# Note that it is not very fast since it is implemented using
|
||||||
# continuation, which currently is slow.
|
# continuations, which are currently slow.
|
||||||
#
|
#
|
||||||
# == Example
|
# == Example
|
||||||
#
|
#
|
||||||
|
|
Загрузка…
Ссылка в новой задаче