`
roruby
  • 浏览: 324571 次
  • 来自: ...
社区版块
存档分类
最新评论
阅读更多

Ruby概述

Ruby是一种功能强大的面向对象的脚本语言,她可以使您方便快捷地进行面向对象编程.有时使用像Smalltalk、Eiffel或C++这样正式的面向对象语言来开发一些小项目显得有点"小题大作",而Ruby刚好可以满足这些面向对象编程的需求.当然了,您也可以使用Ruby进行普通的面向过程编程.

Ruby的文本处理能力极强,与Perl不分伯仲.同时,Ruby的语法简单,还有异常处理以及迭代器等构造,使编程变得简单明了.

简而言之,您可以像使用Perl一样方便快捷地进行面向对象的开发.怎么样?赶紧试一试吧!

Ruby是由松本行弘开发的免费软件.

Ruby的特长

  • 语法简单
  • 普通的面向对象功能(类,方法调用等)
  • 特殊的面向对象功能(Mixin,特殊方法等)
  • 操作符重载
  • 错误处理功能
  • 迭代器和闭包
  • 垃圾回收
  • 动态载入(取决于系统架构)
  • 可移植性高.不仅可以运行在多数UNIX上,还可以运行在DOS,Windows,Mac,BeOS等平台上
分享到:
评论

相关推荐

    Ruby.Performance.Optimization

    In this comprehensive guide to Ruby optimization, you'll learn how to write faster Ruby code--but that's just the beginning. See exactly what makes Ruby and Rails code slow, and how to fix it. Alex ...

    Ruby Performance Optimization, Why Ruby is Slow, and How to Fix It

    In this comprehensive guide to Ruby optimization, you’ll learn how to write faster Ruby code–but that’s just the beginning. See exactly what makes Ruby and Rails code slow, and how to fix it. Alex...

    Beginning.Ruby.From.Novice.to.Professional.3rd.Edition.1484212797

    The light and agile Ruby programming language remains a very popular open source scripting option for developers building today's web and even some enterprise applications. And, now, Ruby also has ...

    ruby and watir 安装指南

    C:\>gem envRubyGems Environment: - RUBYGEMS VERSION: 1.3.7 - RUBY VERSION: 1.8.6 (2007-09-24 patchlevel 111) [i386-mswin32] - INSTALLATION DIRECTORY: c:/ruby/lib/ruby/gems/1.8 - RUBY EXECUTABLE: c:/...

    Ruby袖珍参考手册

    -Ruby's killer app -- or simply because it's a relatively clean, powerful and expressive language that's useful for a lot of applications, the Ruby Pocket Reference is organized to help you find what ...

    Ruby Performance Optimization(Pragmatic,2015)

    See exactly what makes Ruby and Rails code slow, and how to fix it. Alex Dymo will guide you through perils of memory and CPU optimization, profiling, measuring, performance testing, garbage ...

    Beginning Ruby on Rails

    and become familiar with Ruby's classes and objects. You'll learn to build Rails applications, connect to databases, perform necessary testing, and put the whole thing together to create real-world ...

    Ruby Pocket Reference

    -Ruby's killer app -- or simply because it's a relatively clean, powerful and expressive language that's useful for a lot of applications, the Ruby Pocket Reference is organized to help you find what ...

    What’s New In Rails 2.1

    What’s New In Rails 2.1: A Well Produced, Free E-Book

    Ruby Cookbook, 2nd Edition

    It makes you more productive than other programming languages because you spend more time making the computer do what you want, and less wrestling with the language. But there are many ways for a ...

    foghorn:在您的Ruby中添加一点Foghorn来克亨鸡

    boy what 's wrong with you pry(main)> I.say.I.say.I.say ' ruby is awesome ' ruby is awesome pry(main)> Boy.I.say.boy "what' s with you and chunky bacon " what 's with you and chunky bacon pry(main)> ...

    [奥莱理] Exploring Everyday Things with R and Ruby

    I believe this is partly because we don’t understand what goes on in the world around us well enough, and thus we don’t care either. Click the remote and the TV turns on—why and how does that work...

    rubyinstaller-devkit-2.5.3-1-x64.exe

    If you don’t know what version to install and you’re getting started with Ruby, we recommend you use Ruby+Devkit 2.5.X (x64) installer. It provides the biggest number of compatible gems and installs...

    blather:在EventMachine和Nokogiri上编写的用于Ruby的XMPPJabber库和DSL

    适用于Ruby的XMPP DSL(以及更多),使用和。 特征 事件架构 使用Nokogiri 简化起点 项目页面 用法 安装 gem install blather 例子 Blather带有DSL,可让您轻松快捷地编写XMPP机器人。 有关更多高级示例,请参见...

    RubyTTY.zip

    Ruby TTY 是一个 Ruby 用来开发命令行应用的 Gems,示例代码: shell = TTY::Shell.new shell.ask "What is your name?" do  argument :required  default 'Piotr'  validate /\w \s\w /  valid ['...

    Rails Crash Course(No Starch, 2014)

    you'll take your skills to the next level as you build a social networking app with more advanced Ruby tools, such as modules and metaprogramming, and advanced data modeling techniques within Rails's ...

    Bootstrap for Rails (2015)

    Summary 36 Chapter 3: Powering a Rails App with Bootstrap's Grid System 37 What is Bootstrap's grid system? 38 Nesting columns 45 Implementing Bootstrap's grid system in a Rails application 46 Summary...

    what-game:用于视频游戏搜索和过滤的Rails原型

    欢迎来到什么游戏! 我们在这里可以帮助您找到您喜欢的下一款游戏。 使用我们的搜索功能和我们的愿望清单系统可以更好地帮助您管理您想玩的游戏

    Deploying.with.JRuby.9k.Deliver.Scalable.Web.Apps.Using.JVM

    Next, port an existing Rails application to JRuby, preparing the app to take advantage of the JVM platform--all while keeping everything that's friendly and familiar to Ruby developers. Deploy the ...

Global site tag (gtag.js) - Google Analytics