RubyFlow The Ruby and Rails community linklog

×

The Ruby and Rails community linklog

Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!

Ruby monkey patching. An introduction

Monkey patching is a technique used in Ruby programming to modify or extend the behaviour of existing classes or modules at runtime. It involves adding, removing or modifying methods and attributes of existing classes or modules at runtime, without actually changing the source code of the original class or module. https://medium.com/@real_wyodeb/ruby-monkey-patching-an-introduction-d1328fc99da7

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in