Download Metaprogramming Ruby 2: Program Like the Ruby Pros (Facets by Paolo Perrotta PDF

By Paolo Perrotta

Dig below the outside and discover Ruby’s so much complex function: a set of options and tips referred to as metaprogramming. during this booklet, you’ll research metaprogramming as an integral part of Ruby and realize the deep, non-obvious information of the language. when you comprehend the tenets of Ruby, together with the article version, scopes, and singleton sessions, you’re in your solution to utilizing metaprogramming either on your day-by-day paintings assignments and on your enjoyable, after-hours projects.

Metaprogramming Ruby, moment Edition makes getting to know the language stress-free. The e-book is packed with:

  • Pragmatic examples of metaprogramming in motion, a lot of which come directly from real-life gemstones equivalent to Rails.
  • Programming demanding situations that allow you to test and play with the most out-there metaprogramming concepts.
  • Metaprogramming “spells”—33 sensible recipes and idioms that you should research and follow instantaneously, to write down code that's certain to impress.

This thoroughly revised new version covers the recent beneficial properties in Ruby 2.0 and 2.1, and comprises code from the most recent Ruby libraries, together with Rails four. such a lot examples are new, “from the wild,” with newer libraries. And the publication displays present rules of while and what sort of metaprogramming you'll want to use.

Whether you’re a Ruby apprentice at the route to learning the language or a Ruby wiz looking for new information, this publication is for you.

Show description

Read Online or Download Metaprogramming Ruby 2: Program Like the Ruby Pros (Facets of Ruby) PDF

Best object oriented design books

TIBCO Architecture Fundamentals (TIBCO Press)

“TIBCO® structure basics is a must-read for anyone concerned with the structure and layout of allotted platforms, approach integration matters, or service-based program layout. ” —Bert Hooyman, leader Architect, Europe, for MphasiS (an HP corporation)   “I would favor the entire fogeys on my staff to learn this, to make sure we're all at the comparable web page with the deliverables which are anticipated from structure groups eager about worldwide tasks and the position that the TIBCO instruments play in enforcing those ideas.

C++ Internals Interview Questions You'll Most Likely Be Asked

C++ Internals Interview Questions you are going to probably Be requested is an ideal spouse to face forward above the remaining in today’s aggressive activity marketplace. instead of facing complete, textbook-sized reference publications, this publication comprises simply the data required instantly for task seek to construct an IT profession.

Vaadin 7 UI Design By Example: Beginner’s Guide

In DetailVaadin is a mature, open-source, and strong Java framework used to construct sleek net purposes in undeniable Java. Vaadin brings again the joys of programming UI interfaces to the internet universe. No HTML, no CSS, no JavaScript, no XML. Vaadin permits you to enforce internet consumer interfaces utilizing an item orientated version, just like computer applied sciences similar to Swing and AWT.

Informationsmodellierung: Durch Verstehen zur besseren Software (German Edition)

Verstehen ist der Schlüssel zu guter software program. Die Modellierung von Geschäftsprozessen und der dabei manipulierten Daten kann jedoch nur maximal so intestine sein wie das zugrunde liegende Verständnis der Sache an sich. Erfahrungsgemäss liegt die Hauptursache für schlechte software program und gescheiterte IT-Projekte im mangelnden Verständnis der Fachwelt.

Extra info for Metaprogramming Ruby 2: Program Like the Ruby Pros (Facets of Ruby)

Example text

Download PDF sample

Rated 4.97 of 5 – based on 20 votes