ruby-changes:17930
From: matz <ko1@a...>
Date: Sat, 27 Nov 2010 12:08:18 +0900 (JST)
Subject: [ruby-changes:17930] Ruby:r29946 (trunk): * man/ruby.1: Ruby man page from Arthur Gunn in
matz 2010-11-27 12:08:12 +0900 (Sat, 27 Nov 2010) New Revision: 29946 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=29946 Log: * man/ruby.1: Ruby man page from Arthur Gunn in [ruby-core:33412] Modified files: trunk/ChangeLog trunk/man/ruby.1 Index: ChangeLog =================================================================== --- ChangeLog (revision 29945) +++ ChangeLog (revision 29946) @@ -1,3 +1,7 @@ +Sat Nov 27 12:07:05 2010 Yukihiro Matsumoto <matz@r...> + + * man/ruby.1: Ruby man page from Arthur Gunn in [ruby-core:33412] + Sat Nov 27 11:29:24 2010 Nobuyoshi Nakada <nobu@r...> * lib/optparse.rb (OptionParser#candidate): get rid of 1.9 syntax Index: man/ruby.1 =================================================================== --- man/ruby.1 (revision 29945) +++ man/ruby.1 (revision 29946) @@ -37,7 +37,7 @@ .Pp If you want a language for easy object-oriented programming, or you don't like the Perl ugliness, or you do like the concept of LISP, but -don't like too much parentheses, Ruby may be the language of your +don't like too many parentheses, Ruby might be your language of choice. .Sh FEATURES Ruby's features are as follows: @@ -53,7 +53,7 @@ .Pp .It Sy "No declaration needed" You can use variables in your Ruby programs without any declarations. -Variable names denote their scope, local, global, instance, etc. +Variable names denote their scope - global, class, instance, or local. .Pp .It Sy "Simple syntax" Ruby has a simple syntax influenced slightly from Eiffel. @@ -64,11 +64,11 @@ built into the interpreter. .Pp .It Sy "Everything is an object" -Ruby is the purely object-oriented language, and was so since its +Ruby is a purely object-oriented language, and was so since its creation. Even such basic data as integers are seen as objects. .Pp .It Sy "Class, inheritance, and methods" -Of course, as an object-oriented language, Ruby has such basic +Being an object-oriented language, Ruby naturally has basic features like classes, inheritance, and methods. .Pp .It Sy "Singleton methods" @@ -81,7 +81,7 @@ .It Sy "Mix-in by modules" Ruby intentionally does not have the multiple inheritance as it is a source of confusion. Instead, Ruby has the ability to share -implementations across the inheritance tree. This is often called +implementations across the inheritance tree. This is often called a .Sq Mix-in . .Pp .It Sy "Iterators" @@ -90,7 +90,7 @@ .It Sy "Closures" In Ruby, you can objectify the procedure. .Pp -.It Sy "Text processing and regular expression" +.It Sy "Text processing and regular expressions" Ruby has a bunch of text processing features like in Perl. .Pp .It Sy "M17N, character set independent" @@ -102,8 +102,8 @@ With built-in bignums, you can for example calculate factorial(400). .Pp .It Sy "Reflection and domain specific languages" -Class is also an instance of Class class. Definition of classes and methods -is just an expression as 1+1 is. So your programs can even write and modify programs. +Class is also an instance of the Class class. Definition of classes and methods +is an expression just as 1+1 is. So your programs can even write and modify programs. Thus you can write your application in your own programming language on top of Ruby. .Pp .It Sy "Exception handling" @@ -209,7 +209,7 @@ Turns on taint checks at the specified level (default 1). .Pp .It Fl U -Sets the defalut value for internal encodings +Sets the default value for internal encodings .Pf ( Li "Encoding.default_internal" ) to UTF-8. .Pp .It Fl W Ns Op Ar level=2 @@ -259,7 +259,7 @@ .Pp .It Fl e Ar command Specifies script from command-line while telling Ruby not to search -the rest of arguments for a script file name. +the rest of the arguments for a script file name. .Pp .It Fl h .It Fl -help @@ -367,7 +367,7 @@ .Li EOF , .Li "^D" ( Li "control-D" ) , .Li "^Z" ( Li "control-Z" ) , -or reserved word +or the reserved word .Li __END__ . If the directory name is specified, Ruby will switch to that directory before executing script. @@ -474,7 +474,7 @@ This variable is obsolete. .El .Pp -And Ruby depends on some RubyGems related environment variables unless disabled RubyGems. +And Ruby depends on some RubyGems related environment variables unless RubyGems is disabled. See the help of .Xr gem 1 as bellow. @@ -497,7 +497,7 @@ .Li Security vulnerabilities should be reported via an email to .Aq security@r... Ns .Li . -Reported problems will be published after fixed. +Reported problems will be published after they've been fixed. .Pp .Li And you can report other bugs and feature requests via the Ruby Issue Tracking System (http://redmine.ruby-lang.org). -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/