欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

ruby 第一次尝试 RubyLISPPerl编程C 

程序员文章站 2022-04-01 08:53:19
...
mac  下已标配Ruby, 所以想试很容易,下面是 man ruby的输出:ruby是面向对象的编程语言。


RUBY(1)                Ruby Programmers Reference Guide                RUBY(1)

NAME
     ruby -- Interpreted object-oriented scripting language

SYNOPSIS
     ruby [--copyright] [--version] [-Sacdlnpswvy] [-0[octal]] [-C directory]
          [-F pattern] [-I directory] [-K c] [-T[level]] [-e command]
          [-i[extension]] [-r library] [-x[directory]] [--] [program_file]
          [argument ...]

DESCRIPTION
     Ruby is an interpreted scripting language for quick and easy object-ori-
     ented programming.  It has many features to process text files and to do
     system management tasks (as in Perl).  It is simple, straight-forward,
     and extensible.

     If you want a language for easy object-oriented programming, or you don't
     like the Perl ugliness, or you do like the concept of LISP, but don't
     like too much parentheses, Ruby may be the language of your choice.