Skip to content

grow-rb/method_missing_exercises

Repository files navigation

About these exercises

These exercises are originally from Grow.rb event to learn how we use method_missing to implement some familiar features.

How to play

There are some test files written in Minitest. They don't pass soon after you clone it. You will write implementations so that tests are green.

Key concepts

method_missing: It's a hook that are invoked by Ruby runtime when an object cannot understand a message (a.k.a method). This allows dynamic behavior depending on the method name and arguments.

References

https://docs.ruby-lang.org/en/3.4/BasicObject.html#method-i-method_missing

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages