书籍描述:
Write powerful Ruby code that is easy to maintain and change. With metaprogramming, you can produce elegant, clean, and beautiful programs. Once the domain of expert Rubyists, metaprogramming is now accessible to programmers of all levels. This thoroughly revised and updated second edition of the bestselling Metaprogramming Ruby explains metaprogramming in a down-to-earth style and arms you with a practical toolbox that will help you write your best Ruby code ever.

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.

What You Need:


Ruby 2.x, Ruby 1.9, or a recent version of JRuby.

书籍封面:

Product Details
  • Series: Facets of Ruby
  • Paperback: 250 pages
  • Publisher: Pragmatic Bookshelf; 1 edition (August 18, 2014)
  • Language: English
  • ISBN-10: 1941222129
  • ISBN-13: 978-1941222126
  • Product Dimensions: 9.2 x 7.5 x 0.6 inches


网盘地址:
附件: 亲,您没有权限下载或查看附件喔:-) 马上登录注册吧!
cheat on your wife website read cheat on your wife website
want to cheat on my wife read women wanting to cheat
women who cheat on husbands go looking to cheat
TOP

好顶赞啊,感谢楼主分享
what causes women to cheat boomasontennis.com husband watches wife cheat
TOP

感谢楼主分享
free text spy for android cell phone monitoring software best mobile spyware
what causes women to cheat why most women cheat husband watches wife cheat
all wife cheat go how to catch a cheater
TOP

谢谢分享
TOP

完全没有学过这个语言,尝试一下,感谢
why my husband cheated on me i cheat on my husband my husband cheated on me blog
want to cheat on my wife read women wanting to cheat
my husband almost cheated on me want my wife to cheat why men have affairs
women who cheat on husbands go looking to cheat
TOP

太好了,感谢大神。
what causes women to cheat boomasontennis.com husband watches wife cheat
TOP

谢谢分享
cheat on my husband robertsuk.com how do i know if my wife cheated
TOP

好书!
谢谢分享!
why my husband cheated on me i cheat on my husband my husband cheated on me blog
TOP

回复 1# imy**** 的帖子

非常好的书,第一版的中文版我看过了,比较下来这个版本的样例有些变化,大致脉络没变.
married men having affairs developerstalk.com reason women cheat
TOP

多谢分享
want to cheat on my wife tracyawheeler.com women wanting to cheat
cheat on my husband catching a cheater how do i know if my wife cheated
TOP