mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* man/*.1: suppressed warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25489 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
dc28ce1b0b
commit
66f5c5eb30
5 changed files with 59 additions and 60 deletions
11
man/erb.1
11
man/erb.1
|
@ -21,11 +21,11 @@
|
||||||
is a command line front-end for
|
is a command line front-end for
|
||||||
.Li "ERB"
|
.Li "ERB"
|
||||||
library, which is an implementation of eRuby.
|
library, which is an implementation of eRuby.
|
||||||
|
.Pp
|
||||||
eRuby provdes an easy to use but powerful templating system for Ruby.
|
eRuby provdes an easy to use but powerful templating system for Ruby.
|
||||||
Using eRuby, actual Ruby code can be added to any plain text document for the
|
Using eRuby, actual Ruby code can be added to any plain text document for the
|
||||||
purposes of generating document information details and/or flow control.
|
purposes of generating document information details and/or flow control.
|
||||||
|
.Pp
|
||||||
.Nm
|
.Nm
|
||||||
is a part of
|
is a part of
|
||||||
.Nm Ruby .
|
.Nm Ruby .
|
||||||
|
@ -40,7 +40,7 @@ Prints the version of
|
||||||
.It Fl E Ar external Ns Op : Ns Ar internal
|
.It Fl E Ar external Ns Op : Ns Ar internal
|
||||||
.It Fl -encoding Ar external Ns Op : Ns Ar internal
|
.It Fl -encoding Ar external Ns Op : Ns Ar internal
|
||||||
Specifies the default value(s) for external encodings and internal encoding. Values should be separated with colon (:).
|
Specifies the default value(s) for external encodings and internal encoding. Values should be separated with colon (:).
|
||||||
|
.Pp
|
||||||
You can ommit the one for internal encodings, then the value
|
You can ommit the one for internal encodings, then the value
|
||||||
.Pf ( Li "Encoding.default_internal" ) will be nil.
|
.Pf ( Li "Encoding.default_internal" ) will be nil.
|
||||||
.Pp
|
.Pp
|
||||||
|
@ -119,7 +119,7 @@ Here is an eRuby script
|
||||||
<library><%= Prime.each(10).to_a.join(", ") %></library>
|
<library><%= Prime.each(10).to_a.join(", ") %></library>
|
||||||
</erb-example>
|
</erb-example>
|
||||||
.Ed
|
.Ed
|
||||||
|
.Pp
|
||||||
Command
|
Command
|
||||||
.Dl "% erb -T - example.erb"
|
.Dl "% erb -T - example.erb"
|
||||||
prints
|
prints
|
||||||
|
@ -134,13 +134,12 @@ prints
|
||||||
.Pp
|
.Pp
|
||||||
.Sh SEE ALSO
|
.Sh SEE ALSO
|
||||||
.Xr ruby 1 .
|
.Xr ruby 1 .
|
||||||
|
.Pp
|
||||||
And see
|
And see
|
||||||
.Xr ri 1
|
.Xr ri 1
|
||||||
documentation for
|
documentation for
|
||||||
.Li "ERB"
|
.Li "ERB"
|
||||||
class.
|
class.
|
||||||
.El
|
|
||||||
.Pp
|
.Pp
|
||||||
.Sh REPORTING BUGS
|
.Sh REPORTING BUGS
|
||||||
.Bl -bullet
|
.Bl -bullet
|
||||||
|
|
|
@ -40,7 +40,7 @@ Prints the version of
|
||||||
.It Fl -encoding Ar external Ns Op : Ns Ar internal
|
.It Fl -encoding Ar external Ns Op : Ns Ar internal
|
||||||
Same as `ruby -E' .
|
Same as `ruby -E' .
|
||||||
Specifies the default value(s) for external encodings and internal encoding. Values should be separated with colon (:).
|
Specifies the default value(s) for external encodings and internal encoding. Values should be separated with colon (:).
|
||||||
|
.Pp
|
||||||
You can ommit the one for internal encodings, then the value
|
You can ommit the one for internal encodings, then the value
|
||||||
.Pf ( Li "Encoding.default_internal" ) will be nil.
|
.Pf ( Li "Encoding.default_internal" ) will be nil.
|
||||||
.Pp
|
.Pp
|
||||||
|
|
|
@ -27,7 +27,7 @@ is a simple
|
||||||
build program with capabilities similar to the regular
|
build program with capabilities similar to the regular
|
||||||
.Xr make 1
|
.Xr make 1
|
||||||
command.
|
command.
|
||||||
|
.Pp
|
||||||
.Nm Rake
|
.Nm Rake
|
||||||
has the following features:
|
has the following features:
|
||||||
.Bl -bullet
|
.Bl -bullet
|
||||||
|
|
14
man/ri.1
14
man/ri.1
|
@ -12,7 +12,7 @@
|
||||||
.Op Fl f Ar format
|
.Op Fl f Ar format
|
||||||
.Op Fl -list-doc-dirs
|
.Op Fl -list-doc-dirs
|
||||||
.Op Fl -no-standard-docs
|
.Op Fl -no-standard-docs
|
||||||
.Op Fl - Ns Oo Cm no- Oc Ns Cm Bro Cm system Ns | Ns Cm site Ns | Ns Cm gems Ns | Ns Cm home Brc
|
.Op Fl - Ns Oo Cm no- Oc Ns Bro Cm system Ns | Ns Cm site Ns | Ns Cm gems Ns | Ns Cm home Brc
|
||||||
.Op Fl - Ns Oo Cm no- Oc Ns Cm use-cache
|
.Op Fl - Ns Oo Cm no- Oc Ns Cm use-cache
|
||||||
.Op Fl -width Ns = Ns Ar width
|
.Op Fl -width Ns = Ns Ar width
|
||||||
.Op Ar target ...
|
.Op Ar target ...
|
||||||
|
@ -21,10 +21,10 @@
|
||||||
is a CUI front end for the Ruby API reference.
|
is a CUI front end for the Ruby API reference.
|
||||||
You can search and read API reference for classes and methods with
|
You can search and read API reference for classes and methods with
|
||||||
.Nm .
|
.Nm .
|
||||||
|
.Pp
|
||||||
.Nm
|
.Nm
|
||||||
is a part of Ruby.
|
is a part of Ruby.
|
||||||
|
.Pp
|
||||||
.Ar target
|
.Ar target
|
||||||
can be one of the following forms:
|
can be one of the following forms:
|
||||||
.Bl -diag -offset indent
|
.Bl -diag -offset indent
|
||||||
|
@ -39,10 +39,10 @@ for both class and instance methods
|
||||||
.It method
|
.It method
|
||||||
for both class and instance methods
|
for both class and instance methods
|
||||||
.El
|
.El
|
||||||
|
.Pp
|
||||||
All class names may be abbreviated to their minimum unambiguous form. If a name
|
All class names may be abbreviated to their minimum unambiguous form. If a name
|
||||||
is ambiguous, all valid options will be listed.
|
is ambiguous, all valid options will be listed.
|
||||||
|
.Pp
|
||||||
For example:
|
For example:
|
||||||
.Bd -literal -offset indent
|
.Bd -literal -offset indent
|
||||||
ri Fil
|
ri Fil
|
||||||
|
@ -50,7 +50,7 @@ ri File
|
||||||
ri File.new
|
ri File.new
|
||||||
ri zip
|
ri zip
|
||||||
.Ed
|
.Ed
|
||||||
|
.Pp
|
||||||
Note that shell quoting may be required for method names containing
|
Note that shell quoting may be required for method names containing
|
||||||
punctuation:
|
punctuation:
|
||||||
.Bd -literal -offset indent
|
.Bd -literal -offset indent
|
||||||
|
@ -103,7 +103,7 @@ Do not include documentation from the Ruby standard library,
|
||||||
.Pa site_lib ,
|
.Pa site_lib ,
|
||||||
installed gems, or
|
installed gems, or
|
||||||
.Pa ~/.rdoc .
|
.Pa ~/.rdoc .
|
||||||
|
.Pp
|
||||||
Equivalent to specifying the options
|
Equivalent to specifying the options
|
||||||
.Fl -no-system , Fl -no-site , Fl -no-gems ,
|
.Fl -no-system , Fl -no-site , Fl -no-gems ,
|
||||||
and
|
and
|
||||||
|
|
10
man/ruby.1
10
man/ruby.1
|
@ -122,7 +122,7 @@ on-the-fly.
|
||||||
.It Sy "Rich libraries"
|
.It Sy "Rich libraries"
|
||||||
Libraries called "builtin libraries" and "standard libraries" are bundled with Ruby.
|
Libraries called "builtin libraries" and "standard libraries" are bundled with Ruby.
|
||||||
And you can obtain more libraries via the package management system called `RubyGems'.
|
And you can obtain more libraries via the package management system called `RubyGems'.
|
||||||
|
.Pp
|
||||||
Moreover there are thousands of Ruby projects in Rubyforge
|
Moreover there are thousands of Ruby projects in Rubyforge
|
||||||
.Pf ( "http://www.rubyforge.org" ) and RAA
|
.Pf ( "http://www.rubyforge.org" ) and RAA
|
||||||
.Pf ( "http://raa.ruby-lang.org" ) Ns .
|
.Pf ( "http://raa.ruby-lang.org" ) Ns .
|
||||||
|
@ -160,7 +160,7 @@ Causes Ruby to switch to the directory.
|
||||||
.It Fl E Ar external Ns Op : Ns Ar internal
|
.It Fl E Ar external Ns Op : Ns Ar internal
|
||||||
.It Fl -encoding Ar external Ns Op : Ns Ar internal
|
.It Fl -encoding Ar external Ns Op : Ns Ar internal
|
||||||
Specifies the default value(s) for external encodings and internal encoding. Values should be separated with colon (:).
|
Specifies the default value(s) for external encodings and internal encoding. Values should be separated with colon (:).
|
||||||
|
.Pp
|
||||||
You can ommit the one for internal encodings, then the value
|
You can ommit the one for internal encodings, then the value
|
||||||
.Pf ( Li "Encoding.default_internal" ) will be nil.
|
.Pf ( Li "Encoding.default_internal" ) will be nil.
|
||||||
.Pp
|
.Pp
|
||||||
|
@ -375,7 +375,7 @@ before executing script.
|
||||||
.It Fl y
|
.It Fl y
|
||||||
.It Fl -yydebug
|
.It Fl -yydebug
|
||||||
DO NOT USE.
|
DO NOT USE.
|
||||||
|
.Pp
|
||||||
Turns on compiler debug mode. Ruby will print a bunch of internal
|
Turns on compiler debug mode. Ruby will print a bunch of internal
|
||||||
state messages during compiling scripts. You don't have to specify
|
state messages during compiling scripts. You don't have to specify
|
||||||
this switch, unless you are going to debug the Ruby interpreter.
|
this switch, unless you are going to debug the Ruby interpreter.
|
||||||
|
@ -407,7 +407,7 @@ Disables (or enables) all features.
|
||||||
.Pp
|
.Pp
|
||||||
.It Fl -dump Ns = Ns Ar target
|
.It Fl -dump Ns = Ns Ar target
|
||||||
DO NOT USE.
|
DO NOT USE.
|
||||||
|
.Pp
|
||||||
Prints the specified target.
|
Prints the specified target.
|
||||||
.Ar target
|
.Ar target
|
||||||
can be one of;
|
can be one of;
|
||||||
|
@ -507,5 +507,5 @@ via the system because it publishes the vulnerabilities immedately.
|
||||||
.Sh AUTHORS
|
.Sh AUTHORS
|
||||||
Ruby is designed and implemented by
|
Ruby is designed and implemented by
|
||||||
.An Yukihiro Matsumoto Aq matz@netlab.jp .
|
.An Yukihiro Matsumoto Aq matz@netlab.jp .
|
||||||
|
.Pp
|
||||||
See <\fBhttp://redmine.ruby-lang.org/wiki/ruby/Contributors\fR> for contributors to Ruby.
|
See <\fBhttp://redmine.ruby-lang.org/wiki/ruby/Contributors\fR> for contributors to Ruby.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue