By Dave Thomas, Chad Fowler, Andy Hunt

Так как язык Ruby пользуется все большей популярностью в программистском обществе, но при этом переводов книг на русский язык мы пока не дождались, решил продолжить традицию публикации книг об этом языке.Книга содержит исчерпывающую информацию по языку программирования Ruby.С помощью этой книги можно начать изучение Ruby нуля. Рассматриваются вопросы установки Ruby; синтаксиса классов, объектов; философии разработки приложения на Ruby многие другие.Рекомендую книгу также поклонникам популярного фреймворка "Ruby On Rails".

Show description

Read Online or Download Programming Ruby. The Pragmatic Programmers’ Guide (2-nd edition) PDF

Best programming books

Programming iOS 8: Dive Deep into Views, View Controllers, and Frameworks

Commence construction apps for iOS eight with Apple's rapid programming language. If you're grounded within the fundamentals of Xcode and the Cocoa framework, this e-book offers a based clarification of all crucial real-world iOS app parts. via deep exploration and copious code examples, you'll the best way to create perspectives, manage view controllers, and use iOS frameworks for including positive aspects resembling audio and video, entry to person calendars and images, and monitoring the device's place.

Learning Unity Android Game Development

Cohesion five is a revolution in constructing nice video games for Android that gives an excellent integration platform that works seamlessly with team spirit five, which means video games could be constructed speedier and more straightforward than ever before.

Packed with loads of examples, this publication begins by way of supporting you to appreciate all of the nice good points that solidarity five and Android need to provide. you'll then create nice video games like Tic-Tac-Toe and the Monkey Ball video game and likewise learn how to improve them. you are going to then extend the game's setting with lighting fixtures and a skybox and learn how to create enemies in a tank conflict online game. you'll then discover the contact and tilt controls with the production of a Monkey Ball clone.

With the activity of a video game just like offended Birds, you'll delve into configuring physics and techniques for a 2nd video game event. eventually, you'll get an entire adventure by means of studying the optimization strategies had to hold your video games operating easily.

Functional Programming Languages and Computer Architecture: 5th ACM Conference Cambridge, MA, USA, August 26–30, 1991 Proceedings

This ebook deals a complete view of the simplest and the newest paintings in sensible programming. it's the complaints of an immense foreign convention and includes 30 papers chosen from 126 submitted. a few topics emerge. One is a starting to be curiosity in forms: robust sort structures or variety checkers helping overloading, coercion, dynamic forms, and incremental inference; linear varieties to optimize garage, and polymorphic kinds to optimize semantic research.

Additional info for Programming Ruby. The Pragmatic Programmers’ Guide (2-nd edition)

Sample text

Onward and Upward That’s it. We’ve finished our lightning-fast tour of some of the basic features of Ruby. We’ve had a look at objects, methods, strings, containers, and regular expressions, seen some simple control structures, and looked at some rather nifty iterators. We hope this chapter has given you enough ammunition to be able to attack the rest of this book. Time to move on, and up—up to a higher level. Next, we’ll be looking at classes and objects, things that are at the same time both the highest-level constructs in Ruby and the essential underpinnings of the entire language.

Each of our songs, for example, will probably have an instance variable that holds the song title. Within each class, you can define instance methods. Each method is a chunk of functionality that may be called from within the class and (depending on accessibility constraints) from outside the class. These instance methods in turn have access to the object’s instance variables and hence to the object’s state. Methods are invoked by sending a message to an object. 1 When an object receives a message, it looks into its own class for a corresponding method.

The stable branch is intended for production code and in general will be reliable. However, because the snapshot is taken daily, new features may not have received thorough testing yet—the stable tarball in item (1) will be generally more reliable. Prepared exclusively for Yeganefar RUNNING RUBY 4 3. The nightly development snapshot. This is again a tarball, created nightly. Unlike the stable code in (1) and (2), this code is leading edge, as it is taken from the head of the development branch.

Download PDF sample

Rated 4.30 of 5 – based on 10 votes