Greetings, readers! Now that Amazon has disabled its popular ebook lending feature, we're more committed than ever to helping you find the best ways to borrow FREE or save big on the Kindle books that you want to read. Kindle Unlimited and Amazon Prime Reading offer members free reading access to over 1 million titles, including Kindle books, magazines, and audiobooks. Beginning soon, each day in this space we will feature "Today's FREEbies and Top Deals for Our Favorite Readers" to share top 5-star titles that are available for KU and Prime members to read FREE, plus a link to a 30-day FREE trial for Kindle Unlimited!

Lendle

Lendle is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to Amazon.com. As an Amazon Associates participant, we earn small amounts from qualifying purchases on the Amazon sites.

Apart from its participation in the Associates Program, Lendle is not affiliated with Amazon or Kindle in any other way. Amazon, Kindle and the Amazon and Kindle logos are trademarks of Amazon.com, Inc. or its affiliates. Certain content that appears on this website is provided by Amazon Services LLC. This content is provided "as is" and is subject to change or removal at any time. Lendle is published independently by Stephen Windwalker and Windwalker Media and is not endorsed by Amazon.com, Inc.

Dig under the surface and explore Ruby’s most advanced feature: a collection of techniques and tricks known as metaprogramming. In this book, you’ll learn metaprogramming as an essential component of Ruby and discover the deep, non-obvious details of the language. Once you understand the tenets of Ruby, including the object model, scopes, and singleton classes, you’re on your way to applying metaprogramming both in your daily work assignments and in your fun, after-hours projects.


Metaprogramming Ruby, Second Edition makes mastering the language enjoyable. The book is packed with:


  • Pragmatic examples of metaprogramming in action, many of which come straight from real-life gems such as Rails.
  • Programming challenges that let you experiment and play with some of the most out-there metaprogramming concepts.
  • Metaprogramming “spells”—33 practical recipes and idioms that you can study and apply right now, to write code that is sure to impress.

This completely revised new edition covers the new features in Ruby 2.0 and 2.1, and contains code from the latest Ruby libraries, including Rails 4. Most examples are new, “from the wild,” with more recent libraries. And the book reflects current ideas of when and how much metaprogramming you should use.


Whether you’re a Ruby apprentice on the path to mastering the language or a Ruby wiz in search of new tips, this book is for you.

Genres for this book