RubyFlow The Ruby and Rails community linklog

Defining Singleton Methods Using Blocks

There are some potential gotchas when using instance_eval with a block to define methods (metaprogramming). I wrote a post exploring the details.

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