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!

Premature Optimization and Ruby's Singleton Class

I wrote about how you can dynamically extend an object using Ruby’s Singleton (or Eigen) class to improve your code. In this follow up post I respond to the comments that it isn’t a good idea to use the Singleton class because it would not perform like more traditional methods would.

Comments

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