ruby 第一次尝试

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.

你可能感兴趣的:(编程,c,perl,Ruby,lisp)