The Ruby Programming Language [mirror]
Go to file
siena 4e880080a7 * test/ruby/test_time.rb: new test case to test Time#[+-].
* time.c (time_plus, time_minus): fix RangeError for a negative
  argument in environments whose time_t is unsigned. [ruby-dev:22608]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5485 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-18 04:00:00 +00:00
bcc32 * configure.in (LIBPATHFLAG, RPATHFLAG): enclose paths with single 2004-01-10 14:01:50 +00:00
bin Split out ri display code and make pluggable 2004-01-06 05:59:31 +00:00
cygwin
djgpp
doc
ext * ext/iconv/extconf.rb: wrapper iconv.rb is dependent on platform. 2004-01-14 04:31:11 +00:00
lib check ArgumentError by Time.at(-1) instead of by test itself. 2004-01-17 13:13:42 +00:00
misc * dir.c: merge tuning from H.Yamamoto <ocean@m2.ccsnet.ne.jp>. 2004-01-05 10:01:54 +00:00
missing * missing/isinf.c (isinf): typo fix. 2003-12-21 10:30:24 +00:00
sample * sample/webrick/*: new files. 2004-01-07 12:22:19 +00:00
test * test/ruby/test_time.rb: new test case to test Time#[+-]. 2004-01-18 04:00:00 +00:00
vms config.h_in has been renamed to config.h 2003-12-26 01:39:25 +00:00
win32 * configure.in (LIBPATHFLAG, RPATHFLAG): enclose paths with single 2004-01-10 14:01:50 +00:00
wince * configure.in (LIBPATHFLAG, RPATHFLAG): enclose paths with single 2004-01-10 14:01:50 +00:00
x68
.cvsignore
.document Finish documenting internal stuff. See Changelog for other details 2004-01-02 06:01:12 +00:00
COPYING
COPYING.ja
ChangeLog * defines.h (_WIN32): undef _WIN32 on Cygwin before defining DOSISH. 2004-01-17 17:39:05 +00:00
GPL
LEGAL
LGPL
MANIFEST * MANIFEST: add test/net/test_httpheader.rb. (commit miss?) 2004-01-14 00:35:33 +00:00
Makefile.in * configure.in (RDOCTARGET): new macro. if you want to install 2004-01-08 14:58:57 +00:00
README
README.EXT
README.EXT.ja
README.ja
ToDo
array.c Add RDoc for kernel functions, and tidy up 2003-12-30 16:38:32 +00:00
bignum.c Add RDoc for Kernel global functions, tidy array and error 2003-12-29 03:56:22 +00:00
class.c Add RDoc documentation for stuff in object.c 2003-12-28 06:33:07 +00:00
compar.c
config.guess
config.sub
configure.in * configure.in: install rdoc by default. if you do not want to 2004-01-10 17:39:07 +00:00
defines.h * defines.h (_WIN32): undef _WIN32 on Cygwin before defining DOSISH. 2004-01-17 17:39:05 +00:00
dir.c * dir.c (dir_inspect): new method, Dir#inspect. [ruby-dev:22562] 2004-01-10 13:46:21 +00:00
dln.c * string.c (rb_str_update): call rb_str_modify(). 2003-12-25 08:49:20 +00:00
dln.h
dmyext.c
enum.c * enum.c (enum_find): mention about ifnone argument. [ruby-talk:90003] 2004-01-16 14:07:06 +00:00
env.h * env.h (ruby_frame, ruby_scope, ruby_in_eval, ruby_class, 2004-01-11 14:54:44 +00:00
error.c * error.c (NameError::Message): new class for lazy evaluation of 2004-01-17 14:58:57 +00:00
eval.c * error.c (NameError::Message): new class for lazy evaluation of 2004-01-17 14:58:57 +00:00
file.c * file.c (test_wr): Rdoc fix. [ruby-core:02225] 2004-01-12 16:26:05 +00:00
gc.c Add RDoc comments 2003-12-22 06:20:14 +00:00
hash.c RDoc comments for Fixnum, Float, and Hash. Add heuristic to RDoc to handle yaml/stringio 2003-12-23 16:21:17 +00:00
inits.c
install-sh
instruby.rb * instruby.rb: fix install directory if destdir and compile_dir are 2003-12-28 17:25:31 +00:00
intern.h * class.c (rb_check_inheritable): new function. [ruby-dev:22316] 2003-12-21 08:29:06 +00:00
io.c * io.c (argf_read): do not append EOF. (ruby-bugs-ja:PR#585) 2004-01-15 04:03:15 +00:00
keywords
lex.c
main.c
marshal.c * marshal.c (class2path): check anonymous class/module before 2004-01-17 15:23:59 +00:00
math.c Add RDoc comments to math.c 2003-12-28 15:44:07 +00:00
mdoc2man.rb
missing.h * configure.in (ac_cv_func_setitimer): moved from defines.h 2003-12-22 08:23:55 +00:00
mkconfig.rb
node.h
numeric.c Add RDoc comments 2003-12-27 05:46:46 +00:00
object.c Add explicit line breaks in method signatures for ri. Fixup some comments in object.c. Support changes comments for "in xxx.c" 2004-01-12 03:11:25 +00:00
pack.c * dir.c: merge tuning from H.Yamamoto <ocean@m2.ccsnet.ne.jp>. 2004-01-05 10:01:54 +00:00
parse.y * parse.y (primary): allow no "when" case. [ruby-dev:22578] 2004-01-13 05:48:59 +00:00
prec.c Add RDoc for kernel functions, and tidy up 2003-12-30 16:38:32 +00:00
process.c Add HTML formatter to ri 2004-01-11 17:34:05 +00:00
random.c RDoc Struct and random 2003-12-28 20:47:56 +00:00
range.c Add RDoc for kernel functions, and tidy up 2003-12-30 16:38:32 +00:00
re.c * eval.c, object.c, process.c, re.c: don't use C++ style comments. 2004-01-08 02:21:28 +00:00
re.h
regex.c * eval.c (catch_timer): do not call rb_thread_schedule() inside to 2003-12-24 08:47:36 +00:00
regex.h
ruby.1
ruby.c
ruby.h * parse.y (primary): allow no "when" case. [ruby-dev:22578] 2004-01-13 05:48:59 +00:00
rubyio.h
rubysig.h * rubysig.h: <errno.h> is needed to use errno which may be a macro. 2004-01-09 02:52:19 +00:00
rubytest.rb
signal.c Finish documenting internal stuff. See Changelog for other details 2004-01-02 06:01:12 +00:00
sprintf.c Add RDoc documentation for stuff in object.c 2003-12-28 06:33:07 +00:00
st.c
st.h
string.c Add RDoc for kernel functions, and tidy up 2003-12-30 16:38:32 +00:00
struct.c RDoc Struct and random 2003-12-28 20:47:56 +00:00
time.c Add RDoc for kernel functions, and tidy up 2003-12-30 16:38:32 +00:00
util.c
util.h
variable.c Add RDoc for Kernel global functions, tidy array and error 2003-12-29 03:56:22 +00:00
version.c
version.h 2004-01-18 2004-01-17 17:39:08 +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: