5 Ruby Metaprogramming Methods to Simplify Your Code

Let's get programming

  • 5 Videos
  • 0 hours 47 minutes
  • 408 Happy Students

About the course

Metaprogramming is one of Ruby’s coolest features.

You might think that this concept is complex and something only experienced developers apply. But this is not the case! A dash of metaprogramming can greatly simplify your code which allows you to write understandable and concise programs. In this mini course, we will discuss various aspects of metaprogramming and see demonstrations to watch it all in action.

Learn how to create automated Ruby tests with our Feature Tests with RSpec course. If you’re still learning Ruby, head on over to our Ruby course.

  • 5 Videos
  • 0 hours 47 minutes
  • 408 Happy Students

Courses Outline

Lesson 1: Ruby Metaprogramming Revealed
Free
Elegant Coding Through Dynamic Methods and "method_missing"
10:20
Understanding Eigenclasses in Ruby and Realizing Their Importance
6:45
Learning About the Uses of Singleton Methods in Ruby
9:28
Discovering the Differences Between Blocks, Procs and Lambdas
11:50
Local Variable Scope in Ruby and How to Get Around It
8:52
  • 5 Videos
  • 0 hours 47 minutes
  • 408 Happy Students