The Artima Developer Community
Sponsored Link

Ruby Buzz Forum
Super Blank Slates

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
James Tucker

Posts: 38
Nickname: raggi
Registered: Sep, 2007

James Tucker is an abstractionist programmer currently focusing in the Ruby and Telecomms domains
Super Blank Slates Posted: Apr 11, 2008 1:43 PM
Reply to this message Reply

This post originated from an RSS feed registered with Ruby Buzz by James Tucker.
Original Post: Super Blank Slates
Feed Title: ragged blog » Ruby
Feed URL: http://blog.ra66i.org/catagories/informatics/programming/ruby/feed/
Feed Description: blog of raggisms and random musings, by raggi™ (by category: ruby)
Latest Ruby Buzz Posts
Latest Ruby Buzz Posts by James Tucker
Latest Posts From ragged blog » Ruby

Advertisement
So there’s BlankSlate, and today tmm1 was doing something where he was delegating to Array, but wanted to actually have Array in the ancestor chain (for Class#===), so I came up with this: def BS(superclass = nil, name = :BlankSlate) klass = eval(" class #{name} #{" < #{superclass}" if superclass} [...]

Read: Super Blank Slates

Topic: Portland is calling... (you) Previous Topic   Next Topic Topic: RubyGems 1.1.1

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use