by José Mota
Lessons:14Length:2.5 hours
Next lesson playing in 5 seconds
CancelFree Preview: Metaprogramming in Ruby
Introduction
03:02
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!
1.Introduction3 lessons, 14:41
3 lessons, 14:41
Free Lesson 1.1Introduction03:02
Free Lesson
1.1
Introduction
03:02
Free Lesson 1.2What Is Metaprogramming?05:38
Free Lesson
1.2
What Is Metaprogramming?
05:38
1.3Object Hierarchy06:01
1.3
Object Hierarchy
06:01
2.Messages2 lessons, 23:23
2 lessons, 23:23
2.1The `method_missing` Method11:13
2.1
The `method_missing` Method
11:13
2.2Delegation12:10
2.2
Delegation
12:10
3.Manipulating Ruby Elements4 lessons, 43:41
4 lessons, 43:41
3.1Defining and Manipulating Classes Dynamically11:12
3.1
Defining and Manipulating Classes Dynamically
11:12
3.2Class Methods04:50
3.2
Class Methods
04:50
3.3Defining and Manipulating Variables Dynamically17:29
3.3
Defining and Manipulating Variables Dynamically
17:29
3.4Defining and Manipulating Methods Dynamically10:10
3.4
Defining and Manipulating Methods Dynamically
10:10
4.Dynamic Ruby3 lessons, 31:35
3 lessons, 31:35
4.1Procs and Lambdas13:34
4.1
Procs and Lambdas
13:34
4.2Evaluating Ruby Code in Runtime11:37
4.2
Evaluating Ruby Code in Runtime
11:37
4.3Modules06:24
4.3
Modules
06:24
5.Conclusion2 lessons, 33:51
2 lessons, 33:51
5.1Exercise: Create a DSL31:29
5.1
Exercise: Create a DSL
31:29
5.2Final Tips02:22
5.2
Final Tips
02:22
Subscribe to watch full course
Subscribe to watch full course