mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* man/ruby.1: moved into man/. added some descriptions.
* man/goruby.1: new file. * instruby.rb (:man): followed ruby.1. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19937 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
357a0ddc9e
commit
92d172e9c3
4 changed files with 58 additions and 3 deletions
39
man/goruby.1
Normal file
39
man/goruby.1
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
.\"Ruby is copyrighted by Yukihiro Matsumoto <matz@netlab.jp>.
|
||||
.Dd October 25, 2008
|
||||
.Dt GORUBY(1) "" "Ruby Programmers Reference Guide"
|
||||
.Os UNIX
|
||||
.Sh NAME
|
||||
.Nm goruby
|
||||
.Nd Code-golfer's best friend
|
||||
.Sh SYNOPSIS
|
||||
.Nm
|
||||
.Op options ...
|
||||
.Op Fl -
|
||||
.Op Ar program_file
|
||||
.Op Ar argument ...
|
||||
.Sh DESCRIPTION
|
||||
.Sy goruby
|
||||
is a kind of Ruby language processor,
|
||||
which recognizes extremely shorten programs as bellow;
|
||||
.Bd -literal -offset indent
|
||||
rq"date";s De.td
|
||||
.Ed
|
||||
.Pp
|
||||
This means
|
||||
.Bd -literal -offset indent
|
||||
require"date";puts Date.today
|
||||
.Ed
|
||||
.Pp
|
||||
.Sh OPTIONS
|
||||
.Sy goruby
|
||||
takes same options as
|
||||
.Xr ruby 1 .
|
||||
.Sh SEE ALSO
|
||||
.Bl -hang -compact -width "ruby(1)"
|
||||
.It Xr ruby 1
|
||||
The stiff version of Ruby interpreter.
|
||||
.El
|
||||
.Pp
|
||||
.Sh AUTHORS
|
||||
Originally written by Nobuyoshi Nakada and developed by
|
||||
Ruby core team.
|
||||
Loading…
Add table
Add a link
Reference in a new issue