Amazon.co.jp
本書は4部構成となっている。第1部「Rubyの基礎」は、Rubyのチュートリアルだ。クラス、オブジェクトに始まり、コンテナ、メソッド、式、例外、スレッド、プロセス、デバッグなどについて解説している。第2部「Rubyとその周辺」では、Rubyの起動方法、CGIの利用、Tkアプリケーションとの融合、Windows環境での使用方法、Ruby拡張ライブラリについて解説している。
第3部「Rubyの文法と動作の仕組み」では、Rubyの文法、クラスとオブジェクトの詳細、リフレクション、メソッドの動的呼び出しについて解説している。第4部「Rubyライブラリリファレンス」は、Rubyのクラス/モジュールで定義されているメソッドとライブラリのリファレンスとなっている。
付録には、組み込みドキュメント、対話型Ruby(irb)シェルなどの解説を収録。(遠野 諒) --このテキストは、絶版本またはこのタイトルには設定されていない版型に関連付けられています。
日経BP企画
スクリプト言語Rubyの解説書。2001年9月に発表されたバージョン1.6が対象だ。Ruby自体を拡張しようと考えるような達人はもちろん,初心者が手にとって学ぶ時の役にも立つ。
全27章のうち,最初の4分の1は文法の説明だ。系統立っているというよりも,Rubyを使えるようになることを目的に,多くのコード例を交えてずんずん進んでいく。続く4分の1では,CGIを使ったWebアプリケーション,C言語との組み合わせといった応用を学ぶ。ここまでが読みもの形式になっている。残りはクラスや標準ライブラリのリファレンスだ。
とにかくサンプル・コードが多い。リファレンスにもサンプルがある。マルチスレッド,Win32 APIを利用する方法,visitor,singleton,observerという三つのデザイン・パターンがすぐに使えるように設計されていることなど,Ruby達人向けの説明も忘れていない。Rubyの開発者であるまつもと氏が「(ドキュメントを作る)手間を肩代わりしてくれた」と書いているのもうなずける。
( 日経ソフトウエア)
(日経ソフトウエア 2001/12/01 Copyright©2001 日経BP企画..All rights reserved.)
--このテキストは、絶版本またはこのタイトルには設定されていない版型に関連付けられています。
内容説明
内容(「BOOK」データベースより)
内容(「MARC」データベースより)
Amazon.co.uk
Ruby is fully object oriented with a simple and consistent syntax. It is Open Source and freely available from ftp:ftp.netlab.co.jp/pub/lang/ruby as well as many mirrors. In Programming Ruby the authors set out to show that Ruby can and should replace languages such as Perl, Python, SmallTalk and C++; from which it takes all the best features--even Perl's excellent regular expression support.
The book is in four parts: a tutorial; a section on installing and running it in various environments; a section on the inner workings and interrelationships of the language; and, finally, a huge library reference. The authors make their case for the language's simplicity, predictability and flexibility. Unlike languages which have grown by accretion, such as Perl, it is remarkably clean.
Clearly a labour of love, Programming Ruby is equally clean and the authors' enthusiasm for it drips from the pages. Certainly, if you are passionate about efficient, error-free coding Ruby is hard to beat. There are, though, an awful lot of languages available already.
Ruby is certainly worth a look just to see how simple and accessible an object-oriented language can be when its author can draw on the best and throw away the rest. Working programmers will decide whether Ruby gains widespread acceptance but in Programming Ruby it has a powerful and convincing advocate. --Steve Patient
From the Back Cover
--Kent Beck, author of Extreme Programming Explained, on the Ruby language
Ruby is a true object-oriented programming language that makes the craft of programming easier. Ruby is a transparent language: It doesn't obscure your program behind unnecessary syntax or reams of extra support code. Guided by the Principle of Least Surprise, Ruby embodies the values of consistency and simplicity of expression. It's more than a programming language: It's a concise way of expressing ideas. Ruby supports natural intelligence--yours.
Programming Ruby: The Pragmatic Programmer's Guide is your complete Ruby resource. It provides a tutorial and overview of Ruby version 1.6; a detailed description of the language's structure, syntax, and operation; a guide to building applications with Ruby; and a comprehensive library reference.
Mining real rubies is hard work done with a pickaxe, but mining ruby the language is simple With this book, you'll find it remarkably easy to Learn Ruby basics. You'll find normal stuff like classes, objects, and exceptions, as well as more interesting features, such as infinite-precision integers, iterators, mixins, and threads.
* Write large, well-structured Ruby programs
* Write CGI scripts and create dynamic Ruby pages for the Web
* Create cross-platform GUI applications
* Access Microsoft Windows native API calls and automate Windows applications
* Extend Ruby using C code
Other gems you'll find in Programming Ruby include:
* An alphabetical reference to all of the built-in classes, modules, and the standard library, documenting over a thousand methods
* A reference to object-oriented design libraries, network and Web libraries, and Microsoft Windows support
* A guide to downloading the Ruby language itself, as well as other Ruby resources
* Numerous examples (that really work) appear throughout the book. You will come away from this book with an appreciation for Ruby's power, flexibility, and clarity. You'll be armed with the information you need to put Ruby to work for you and your projects.
The authors maintain the Ruby FAQ, which can be found on-line at both rubycentral and pragmaticprogrammer. 0201710897B04062001