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!

The difference between instance_eval and class_eval

This article explores the difference between Ruby’s instance_eval and class_eval methods, and takes a peek into the depths of the Ruby execution context. https://daniel-azuma.com/blog/2021/02/02/should-i-use-instance-eval-or-class-eval

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