Blank slate objects in Ruby


/ Published in: Ruby
Save to your folder(s)

Creating a object that doesn't have any methods in Ruby (regular objects inherit methods from Object class), useful for Proxies that use method missing (http://onestepback.org/index.cgi/Tech/Ruby/BlankSlate.rdoc).

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.