Programming Ruby - the Pragmatic Programmer's Guide (2ND)

個数:

Programming Ruby - the Pragmatic Programmer's Guide (2ND)

  • 提携先の海外書籍取次会社に在庫がございます。通常3週間で発送いたします。
    重要ご説明事項
    1. 納期遅延や、ご入手不能となる場合が若干ございます。
    2. 複数冊ご注文の場合、分割発送となる場合がございます。
    3. 美品のご指定は承りかねます。
  • 【入荷遅延について】
    世界情勢の影響により、海外からお取り寄せとなる洋書・洋古書の入荷が、表示している標準的な納期よりも遅延する場合がございます。
    おそれいりますが、あらかじめご了承くださいますようお願い申し上げます。
  • ◆画像の表紙や帯等は実物とは異なる場合があります。
  • ◆ウェブストアでの洋書販売価格は、弊社店舗等での販売価格とは異なります。
    また、洋書販売価格は、ご注文確定時点での日本円価格となります。
    ご注文確定後に、同じ洋書の販売価格が変動しても、それは反映されません。
  • 製本 Paperback:紙装版/ペーパーバック版/ページ数 832 p.
  • 言語 ENG
  • 商品コード 9780974514055
  • DDC分類 005.1

Full Description

Ruby is an increasingly popular, fully object-oriented dynamic programming language, hailed by many practitioners as the finest and most useful language available today. When Ruby first burst onto the scene in the Western world, the Pragmatic Programmers were there with the definitive reference manual, "Programming Ruby: The Pragmatic Programmer's Guide". Now in its Second Edition, author Dave Thomas has expanded the famous Pickaxe book with over 200 pages of new content, covering all the new and improved language features of Ruby 1.8 and standard library modules. The Pickaxe contains four major sections: an acclaimed tutorial on using Ruby; the definitive reference to the language; complete documentation on all built-in classes, modules, and methods; and complete descriptions of all 98 standard libraries. If you enjoyed the First Edition, you'll appreciate the new and expanded content, including: enhanced coverage of installation, packaging, documenting Ruby source code, threading and synchronization, and enhancing Ruby's capabilities using C-language extensions.
Programming for the worldwide web is easy in Ruby, with new chapters on XML/RPC, SOAP, distributed Ruby, templating systems and other web services. There's even a new chapter on unit testing. This is the definitive reference manual for Ruby, including a description of all the standard library modules, a complete reference to all built-in classes and modules (including more than 250 significant changes since the First Edition). Coverage of other features has grown tremendously, including details on how to harness the sophisticated capabilities of irb, so you can dynamically examine and experiment with your running code. "Ruby is a wonderfully powerful and useful language, and whenever I'm working with it this book is at my side" - Martin Fowler, Chief Scientist, ThoughtWorks.

Contents

Contents FOREWORD TO THE FIRST EDITION FOREWORD TO THE SECOND EDITION PREFACE ROAD MAP PART I--FACETS OF RUBY 1 GETTING STARTED Installing Ruby Running Ruby Ruby Documentation: RDoc and ri 2 RUBY.NEW Ruby Is an Object-Oriented Language Some Basic Ruby Arrays and Hashes Control Structures Regular Expressions Blocks and Iterators Reading and 'Riting Onward and Upward 3 CLASSES, OBJECTS, AND VARIABLES Inheritance and Messages Objects and Attributes Class Variables and Class Methods Access Control Variables CONTAINERS, BLOCKS, AND ITERATORS Containers Blocks and Iterators Containers Everywhere 5 STANDARD TYPES Numbers Strings Ranges Regular Expressions 6 MORE ABOUT METHODS Defining a Method Calling a Method 7 EXPRESSIONS Operator Expressions Miscellaneous Expressions Assignment Conditional Execution Case Expressions Loops Variable Scope, Loops, and Blocks 8 EXCEPTIONS, CATCH, AND THROW The Exception Class Handling Exceptions Raising Exceptions Catch and Throw 9 MODULES Namespaces Mixins Iterators and the EnumerableModule Composing Modules Including Other Files 10 BASIC INPUT AND OUTPUT What Is an IO Object? Opening and Closing Files Reading and Writing Files Talking to Networks 11 THREADS AND PROCESSES Multithreading Controlling the Thread Scheduler Mutual Exclusion Running Multiple Processes 12 UNIT TESTING Test::Unit Framework Structuring Tests Organizing and Running Tests 13 WHEN TROUBLE STRIKES Ruby Debugger Interactive Ruby Editor Support But It Doesn'tWork! But It's Too Slow! PART II--RUBY IN ITS SETTING 14 RUBY AND ITS WORLD Command-Line Arguments Program Termination Environment Variables Where Ruby Finds Its Modules Build Environment 15 INTERACTIVE RUBY SHELL Command Line Configuration Commands Restrictions rtags and xmp 16 DOCUMENTING RUBY Adding RDoc to Ruby Code Adding RDoc to C Extensions Running RDoc Displaying Program Usage 17 PACKAGE MANAGEMENT WITH RUBYGEMS Installing RubyGems Installing Application Gems Installing and Using Gem Libraries Creating Your Own Gems 18 RUBY AND THE WEB Writing CGI Scripts Cookies Improving Performance Choice of Web Servers SOAP and Web Services More Information 19 RUBY TK Simple Tk Application Widgets Binding Events Canvas Scrolling Translating from Perl/Tk Documentation 20 RUBY AND MICROSOFT WINDOWS Getting Ruby for Windows Running Ruby Under Windows Win32API Windows Automation 21 EXTENDING RUBY Your First Extension Ruby Objects in C The Jukebox Extension Memory Allocation Ruby Type System Creating an Extension Embedding a Ruby Interpreter Bridging Ruby to Other Languages Ruby C Language API PART III--RUBY CRYSTALLIZED 22 THE RUBY LANGUAGE Source Layout The Basic Types Names Variables and Constants Predefined Variables Expressions Boolean Expressions if and unless Expressions case Expressions Loop Constructs Method Definition Invoking a Method Aliasing Class Definition Module Definitions Access Control Blocks, Closures, and Proc Objects Exceptions Catch and Throw 23 DUCK TYPING Classes Aren't Types Coding like a Duck Standard Protocols and Coercions Walk the Walk, Talk the Talk 24 CLASSES AND OBJECTS How Classes and Objects Interact Class and Module Definitions Top-Level Execution Environment Inheritance and Visibility Freezing Objects 25 LOCKING RUBY IN THE SAFE Safe Levels Tainted Objects 26 REFLECTION, OBJECTSPACE, AND DISTRIBUTED RUBY Looking at Objects Looking at Classes Calling Methods Dynamically System Hooks Tracing Your Program's Execution Marshaling and Distributed Ruby Compile Time? Runti