> > class Fixnum > attr_accessor :note > end > > 13.note = "a baker's dozen" > 25.note = "5 squared" > > notes = [13, 21, 25].collect { |x| x.note } # ["a baker's dozen", > nil, "5 squared"] > It's really cool. -- Posted via http://www.ruby-forum.com/.