зеркало из https://github.com/github/ruby.git
* 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:
Родитель
dc28ce1b0b
Коммит
66f5c5eb30
11
man/erb.1
11
man/erb.1
|
@ -21,11 +21,11 @@
|
|||
is a command line front-end for
|
||||
.Li "ERB"
|
||||
library, which is an implementation of eRuby.
|
||||
|
||||
.Pp
|
||||
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
|
||||
purposes of generating document information details and/or flow control.
|
||||
|
||||
.Pp
|
||||
.Nm
|
||||
is a part of
|
||||
.Nm Ruby .
|
||||
|
@ -40,7 +40,7 @@ Prints the version of
|
|||
.It Fl E 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 (:).
|
||||
|
||||
.Pp
|
||||
You can ommit the one for internal encodings, then the value
|
||||
.Pf ( Li "Encoding.default_internal" ) will be nil.
|
||||
.Pp
|
||||
|
@ -119,7 +119,7 @@ Here is an eRuby script
|
|||
<library><%= Prime.each(10).to_a.join(", ") %></library>
|
||||
</erb-example>
|
||||
.Ed
|
||||
|
||||
.Pp
|
||||
Command
|
||||
.Dl "% erb -T - example.erb"
|
||||
prints
|
||||
|
@ -134,13 +134,12 @@ prints
|
|||
.Pp
|
||||
.Sh SEE ALSO
|
||||
.Xr ruby 1 .
|
||||
|
||||
.Pp
|
||||
And see
|
||||
.Xr ri 1
|
||||
documentation for
|
||||
.Li "ERB"
|
||||
class.
|
||||
.El
|
||||
.Pp
|
||||
.Sh REPORTING BUGS
|
||||
.Bl -bullet
|
||||
|
|
|
@ -40,7 +40,7 @@ Prints the version of
|
|||
.It Fl -encoding Ar external Ns Op : Ns Ar internal
|
||||
Same as `ruby -E' .
|
||||
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
|
||||
.Pf ( Li "Encoding.default_internal" ) will be nil.
|
||||
.Pp
|
||||
|
|
|
@ -27,7 +27,7 @@ is a simple
|
|||
build program with capabilities similar to the regular
|
||||
.Xr make 1
|
||||
command.
|
||||
|
||||
.Pp
|
||||
.Nm Rake
|
||||
has the following features:
|
||||
.Bl -bullet
|
||||
|
|
14
man/ri.1
14
man/ri.1
|
@ -12,7 +12,7 @@
|
|||
.Op Fl f Ar format
|
||||
.Op Fl -list-doc-dirs
|
||||
.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 -width Ns = Ns Ar width
|
||||
.Op Ar target ...
|
||||
|
@ -21,10 +21,10 @@
|
|||
is a CUI front end for the Ruby API reference.
|
||||
You can search and read API reference for classes and methods with
|
||||
.Nm .
|
||||
|
||||
.Pp
|
||||
.Nm
|
||||
is a part of Ruby.
|
||||
|
||||
.Pp
|
||||
.Ar target
|
||||
can be one of the following forms:
|
||||
.Bl -diag -offset indent
|
||||
|
@ -39,10 +39,10 @@ for both class and instance methods
|
|||
.It method
|
||||
for both class and instance methods
|
||||
.El
|
||||
|
||||
.Pp
|
||||
All class names may be abbreviated to their minimum unambiguous form. If a name
|
||||
is ambiguous, all valid options will be listed.
|
||||
|
||||
.Pp
|
||||
For example:
|
||||
.Bd -literal -offset indent
|
||||
ri Fil
|
||||
|
@ -50,7 +50,7 @@ ri File
|
|||
ri File.new
|
||||
ri zip
|
||||
.Ed
|
||||
|
||||
.Pp
|
||||
Note that shell quoting may be required for method names containing
|
||||
punctuation:
|
||||
.Bd -literal -offset indent
|
||||
|
@ -103,7 +103,7 @@ Do not include documentation from the Ruby standard library,
|
|||
.Pa site_lib ,
|
||||
installed gems, or
|
||||
.Pa ~/.rdoc .
|
||||
|
||||
.Pp
|
||||
Equivalent to specifying the options
|
||||
.Fl -no-system , Fl -no-site , Fl -no-gems ,
|
||||
and
|
||||
|
|
10
man/ruby.1
10
man/ruby.1
|
@ -122,7 +122,7 @@ on-the-fly.
|
|||
.It Sy "Rich libraries"
|
||||
Libraries called "builtin libraries" and "standard libraries" are bundled with Ruby.
|
||||
And you can obtain more libraries via the package management system called `RubyGems'.
|
||||
|
||||
.Pp
|
||||
Moreover there are thousands of Ruby projects in Rubyforge
|
||||
.Pf ( "http://www.rubyforge.org" ) and RAA
|
||||
.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 -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 (:).
|
||||
|
||||
.Pp
|
||||
You can ommit the one for internal encodings, then the value
|
||||
.Pf ( Li "Encoding.default_internal" ) will be nil.
|
||||
.Pp
|
||||
|
@ -375,7 +375,7 @@ before executing script.
|
|||
.It Fl y
|
||||
.It Fl -yydebug
|
||||
DO NOT USE.
|
||||
|
||||
.Pp
|
||||
Turns on compiler debug mode. Ruby will print a bunch of internal
|
||||
state messages during compiling scripts. You don't have to specify
|
||||
this switch, unless you are going to debug the Ruby interpreter.
|
||||
|
@ -407,7 +407,7 @@ Disables (or enables) all features.
|
|||
.Pp
|
||||
.It Fl -dump Ns = Ns Ar target
|
||||
DO NOT USE.
|
||||
|
||||
.Pp
|
||||
Prints the specified target.
|
||||
.Ar target
|
||||
can be one of;
|
||||
|
@ -507,5 +507,5 @@ via the system because it publishes the vulnerabilities immedately.
|
|||
.Sh AUTHORS
|
||||
Ruby is designed and implemented by
|
||||
.An Yukihiro Matsumoto Aq matz@netlab.jp .
|
||||
|
||||
.Pp
|
||||
See <\fBhttp://redmine.ruby-lang.org/wiki/ruby/Contributors\fR> for contributors to Ruby.
|
||||
|
|
Загрузка…
Ссылка в новой задаче