summaryrefslogtreecommitdiff
path: root/man/goruby.1
blob: 857874f0700421da90db8c1fee939da3e4504758 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
.\"Ruby is copyrighted by Yukihiro Matsumoto <matz@netlab.jp>.
.Dd November 15, 2012
.Dt GORUBY(1) "" "Ruby Programmers Reference Guide"
.Os UNIX
.Sh NAME
.Nm goruby
.Nd A 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 shortened programs as below:
.Bd -literal -offset indent
rq"date";s De.td
.Ed
.Pp
Which 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 the
Ruby core team.