2014
tutsplus.com
José Mota
2h26m
English
Ruby is a wonderful language because it gives you the opportunity to write beautiful and expressive code without compromising readability. Metaprogramming makes up for that statement, as it allows you to accomplish so much more with so little effort.
Prepare to learn some obscure features that you likely haven’t seen before. If you want to improve your skills in Ruby, then this is the course for you. Let’s jump in!
Introduction
Introduction
What Is Metaprogramming?
Object Hierarchy
Messages
The `method_missing` Method
Delegation
Manipulating Ruby Elements
Defining and Manipulating Classes Dynamically
Class Methods
Defining and Manipulating Variables Dynamically
Defining and Manipulating Methods Dynamically
Dynamic Ruby
Procs and Lambdas
Evaluating Ruby Code in Runtime
Modules
Conclusion
Exercise: Create a DSL
Final tips
https://tutsplus.com/course/metaprogramming-in-ruby/
Download File Size:1.18 GB