The Ruby Programming Language [mirror]
Go to file
dave 16040850af Must now use "::" to separate nested classes. This fixes bug where "ri Kernel.Array" was looking for a class called Array
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6019 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-24 18:59:27 +00:00
bcc32 * bcc32/Makefile.sub: needs bcc32/mkexports.rb. 2004-03-23 05:46:14 +00:00
bin
cygwin * Makefile.in, */Makefile.sub, common.mk (clean-local, distclean-local): 2004-03-23 05:32:01 +00:00
djgpp
doc
ext MANIFEST update. 2004-03-23 05:49:10 +00:00
lib Must now use "::" to separate nested classes. This fixes bug where "ri Kernel.Array" was looking for a class called Array 2004-03-24 18:59:27 +00:00
misc * eval.c (method_hash): new method. [ruby-talk:93968] 2004-03-03 04:55:35 +00:00
missing * missing/os2.c, missing/x68.c: typo fix. pointed out by greentea. 2004-02-21 02:12:21 +00:00
sample * eval.c (rb_require_safe): preserve old ruby_errinfo. 2004-03-20 16:45:41 +00:00
test * test/rss/*: Test::Unit::TestCase -> RSS::TestCase and 2004-03-21 10:03:17 +00:00
vms
win32 * Makefile.in, */Makefile.sub, common.mk (clean-local, distclean-local): 2004-03-23 05:32:01 +00:00
wince * Makefile.in, */Makefile.sub, common.mk (clean-local, distclean-local): 2004-03-23 05:32:01 +00:00
x68
.cvsignore * sprintf.c (rb_f_sprintf): preserve original val for 2004-02-17 15:26:03 +00:00
.document
COPYING
COPYING.ja
ChangeLog Must now use "::" to separate nested classes. This fixes bug where "ri Kernel.Array" was looking for a class called Array 2004-03-24 18:59:27 +00:00
GPL
LEGAL * oniggnu.h: imported from Oniguruma library. 2004-03-05 15:40:36 +00:00
LGPL
MANIFEST MANIFEST update. 2004-03-23 05:49:10 +00:00
Makefile.in * Makefile.in, */Makefile.sub, common.mk (clean-local, distclean-local): 2004-03-23 05:32:01 +00:00
README
README.EXT * eval.c (method_hash): new method. [ruby-talk:93968] 2004-03-03 04:55:35 +00:00
README.EXT.ja
README.ja
ToDo
array.c * eval.c (rb_require_safe): preserve old ruby_errinfo. 2004-03-20 16:45:41 +00:00
ascii.c Initial revision 2004-03-05 15:31:51 +00:00
bignum.c * eval.c (rb_yield_0): should not re-submit TAG_BREAK if this 2004-03-15 02:27:29 +00:00
class.c
common.mk * Makefile.in, */Makefile.sub, common.mk (clean-local, distclean-local): 2004-03-23 05:32:01 +00:00
compar.c
config.guess
config.sub
configure.in * Makefile.in, */Makefile.sub, common.mk: extract common portions. 2004-03-21 23:21:31 +00:00
defines.h
dir.c * dir.c (fnmatch_helper): File.fnmatch('\.', '.') should return true. 2004-03-16 02:24:47 +00:00
dln.c
dln.h
dmyext.c
enum.c * eval.c: remove specialized version of rb_Array(). use simple 2004-03-18 06:59:04 +00:00
env.h
error.c * error.c (exc_initialize): calling 'to_str' each time just for 2004-03-16 23:03:17 +00:00
euc_jp.c This commit was generated by cvs2svn to compensate for changes in r5960, 2004-03-16 15:20:15 +00:00
eval.c * object.c (rb_mod_cvar_get): new method Module#class_variable_get. 2004-03-23 19:14:16 +00:00
file.c
gc.c * struct.c (rb_struct_s_def): Struct::new executes block with 2004-03-10 07:05:19 +00:00
hash.c * eval.c (localjump_destination): lambda should not interfere 2004-02-26 17:15:00 +00:00
inits.c
install-sh
instruby.rb * instruby.rb, rubytest.rb: do not depend on srcdir. 2004-03-18 10:49:20 +00:00
intern.h * configure.in: check functions, fork spawnv. 2004-02-16 06:45:32 +00:00
io.c * variable.c (rb_cvar_set): class variables become private to the 2004-03-19 07:13:01 +00:00
keywords
lex.c
main.c
marshal.c
math.c
mdoc2man.rb
missing.h
mkconfig.rb * Makefile.in, */Makefile.sub, common.mk: extract common portions. 2004-03-21 23:21:31 +00:00
node.h * eval.c (method_proc): return bound Proc object. [ruby-dev:22854] 2004-02-10 11:49:14 +00:00
numeric.c
object.c * object.c (rb_mod_cvar_get): new method Module#class_variable_get. 2004-03-23 19:14:16 +00:00
oniggnu.h Initial revision 2004-03-05 15:31:51 +00:00
oniguruma.h * oniguruma.h, regparse.c: imported Oniguruma 2.2.5. 2004-03-16 15:25:28 +00:00
pack.c
parse.y * eval.c (rb_require_safe): preserve old ruby_errinfo. 2004-03-20 16:45:41 +00:00
prec.c
process.c * io.c (pipe_open): erred program name should be reported by 2004-03-02 07:30:35 +00:00
random.c * eval.c (rb_yield_0): should not re-submit TAG_BREAK if this 2004-03-15 02:27:29 +00:00
range.c
re.c adjust white spaces. 2004-03-05 22:37:35 +00:00
re.h
regcomp.c Initial revision 2004-03-05 15:31:51 +00:00
regenc.c This commit was generated by cvs2svn to compensate for changes in r5960, 2004-03-16 15:20:15 +00:00
regenc.h This commit was generated by cvs2svn to compensate for changes in r5960, 2004-03-16 15:20:15 +00:00
regerror.c This commit was generated by cvs2svn to compensate for changes in r5960, 2004-03-16 15:20:15 +00:00
regex.c * oniggnu.h: imported from Oniguruma library. 2004-03-05 15:40:36 +00:00
regex.h * oniggnu.h: imported from Oniguruma library. 2004-03-05 15:40:36 +00:00
regexec.c Initial revision 2004-03-05 15:31:51 +00:00
reggnu.c Initial revision 2004-03-05 15:31:51 +00:00
regint.h This commit was generated by cvs2svn to compensate for changes in r5960, 2004-03-16 15:20:15 +00:00
regparse.c * oniguruma.h, regparse.c: imported Oniguruma 2.2.5. 2004-03-16 15:25:28 +00:00
regparse.h Initial revision 2004-03-05 15:31:51 +00:00
ruby.1 * ruby.1: add -width option to .Bl for old groff. 2004-03-21 12:08:02 +00:00
ruby.c * configure.in (rb_cv_noreturn): default for platforms not support 2004-03-12 11:19:22 +00:00
ruby.h * struct.c (rb_struct_s_def): Struct::new executes block with 2004-03-10 07:05:19 +00:00
rubyio.h * gc.c (obj_free), io.c (rb_io_fptr_finalize), rubyio.h (OpenFile): 2004-02-25 12:17:39 +00:00
rubysig.h
rubytest.rb * instruby.rb, rubytest.rb: do not depend on srcdir. 2004-03-18 10:49:20 +00:00
runruby.rb * Makefile.in, bcc32/Makefile.sub, win32/Makefile.sub, configure.in, 2004-02-09 08:48:55 +00:00
signal.c * eval.c (rb_yield_0): should not re-submit TAG_BREAK if this 2004-03-15 02:27:29 +00:00
sjis.c Initial revision 2004-03-05 15:31:51 +00:00
sprintf.c * lib/irb/init.rb (IRB::IRB.parse_opts): add -I option to 2004-02-20 10:03:47 +00:00
st.c
st.h
string.c * eval.c (rb_yield_0): should not re-submit TAG_BREAK if this 2004-03-15 02:27:29 +00:00
struct.c * struct.c (rb_struct_s_def): Struct::new executes block with 2004-03-10 07:05:19 +00:00
time.c
utf8.c This commit was generated by cvs2svn to compensate for changes in r5960, 2004-03-16 15:20:15 +00:00
util.c
util.h
variable.c * variable.c (rb_cvar_set): class variables become private to the 2004-03-19 07:13:01 +00:00
version.c
version.h 2004-03-24 2004-03-23 22:33:47 +00:00

README

* What's Ruby

Ruby is the interpreted scripting language for quick and
easy object-oriented programming.  It has many features to
process text files and to do system management tasks (as in
Perl).  It is simple, straight-forward, and extensible.


* Features of Ruby

  + Simple Syntax
  + *Normal* Object-Oriented features(ex. class, method calls)
  + *Advanced* Object-Oriented features(ex. Mix-in, Singleton-method)
  + Operator Overloading
  + Exception Handling
  + Iterators and Closures
  + Garbage Collection
  + Dynamic Loading of Object files(on some architecture)
  + Highly Portable(works on many UNIX machines, and on DOS,
    Windows, Mac, BeOS etc.)


* How to get Ruby

The Ruby distribution can be found on:

  ftp://ftp.ruby-lang.org/pub/ruby/

You can get it by anonymous CVS.  How to check out is:

  $ cvs -d :pserver:anonymous@cvs.ruby-lang.org:/src login
  (Logging in to anonymous@cvs.ruby-lang.org)
  CVS password: anonymous
  $ cvs -z4 -d :pserver:anonymous@cvs.ruby-lang.org:/src checkout ruby


* Ruby home-page

The URL of the Ruby home-page is:

   http://www.ruby-lang.org/


* Mailing list

There is a mailing list to talk about Ruby.
To subscribe this list, please send the following phrase

	subscribe YourFirstName YourFamilyName
e.g.
        subscribe Joseph Smith

in the mail body (not subject) to the address <ruby-talk-ctl@ruby-lang.org>.


* How to compile and install

This is what you need to do to compile and install Ruby:

  1. If ./configure does not exist or is older than configure.in,
     run autoconf to (re)generate configure.

  2. Run ./configure, which will generate config.h and Makefile.

  3. Edit defines.h if you need.  Probably this step will not need.

  4. Remove comment mark(#) before the module names from ext/Setup (or
     add module names if not present), if you want to link modules
     statically.

     If you don't want to compile non static extension modules
     (probably on architectures which does not allow dynamic loading),
     remove comment mark from the line "#option nodynamic" in
     ext/Setup.

  5. Run make.

  6. Optionally, run 'make test' to check whether the compiled Ruby
     interpreter works well.  If you see the message "test succeeded",
     your ruby works as it should (hopefully).

  7. Run 'make install'

     You may have to be a super user to install ruby.

If you fail to compile ruby, please send the detailed error report with
the error log and machine/OS type, to help others.


* Copying

See the file COPYING.


* The Author

Feel free to send comments and bug reports to the author.  Here is the 
author's latest mail address:

  matz@netlab.jp

-------------------------------------------------------
created at: Thu Aug  3 11:57:36 JST 1995
Local variables:
mode: indented-text
end: