summaryrefslogtreecommitdiff
path: root/jni/ruby/man/goruby.1
diff options
context:
space:
mode:
Diffstat (limited to 'jni/ruby/man/goruby.1')
-rw-r--r--jni/ruby/man/goruby.139
1 files changed, 39 insertions, 0 deletions
diff --git a/jni/ruby/man/goruby.1 b/jni/ruby/man/goruby.1
new file mode 100644
index 0000000..62a7bad
--- /dev/null
+++ b/jni/ruby/man/goruby.1
@@ -0,0 +1,39 @@
+.\"Ruby is copyrighted by Yukihiro Matsumoto <matz@netlab.jp>.
+.Dd November 7, 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.