summaryrefslogtreecommitdiffstats
path: root/man/goruby.1
diff options
context:
space:
mode:
authoryugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-10-25 15:15:24 +0000
committeryugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-10-25 15:15:24 +0000
commit838fee7e21873bce43e5c254365e683f6ab3dc5c (patch)
treefc3acefbe43508fe2dfa0ab61d716138ca120797 /man/goruby.1
parent5b8ca7ae2af81e2ec08c0180bfc7094008830134 (diff)
downloadruby-838fee7e21873bce43e5c254365e683f6ab3dc5c.tar.gz
ruby-838fee7e21873bce43e5c254365e683f6ab3dc5c.tar.xz
ruby-838fee7e21873bce43e5c254365e683f6ab3dc5c.zip
* man/ruby.1: moved into man/. added some descriptions.
* man/goruby.1: new file. * instruby.rb (:man): followed ruby.1. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@19937 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'man/goruby.1')
-rw-r--r--man/goruby.139
1 files changed, 39 insertions, 0 deletions
diff --git a/man/goruby.1 b/man/goruby.1
new file mode 100644
index 000000000..340b6ceb1
--- /dev/null
+++ b/man/goruby.1
@@ -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.