Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Ruby Object Model And Metaprogramming Tricks

Ruby Object Model And Metaprogramming Tricks

Those slides are from our small internal meeting when I had tried lure my teammates to the dark side.

Ruby is wonderful, amazing, incredible, powerful language. I am very like and love it! But how many do we know about a power which Ruby provides for us? The power which can shoot our legs if you use it not properly. I will show you very briefly about Ruby object model and how to use metaprogramming spells.

Serge Gernyak

June 14, 2016
Tweet

Other Decks in Programming

Transcript

  1. What else? • Scope Gates • Flat Scope • Shared

    Scope • eval • instance_eval, class_eval, module_eval, instance_exec • …