Mercurial > hg > soundsoftware-site
view test/exemplars/group_exemplar.rb @ 855:7294e8db2515 bug_162
Close obsolete branch bug_162
author | Chris Cannam |
---|---|
date | Thu, 14 Jul 2011 11:59:19 +0100 |
parents | 513646585e45 |
children | cbb26bc654de |
line wrap: on
line source
class Group < Principal generator_for :lastname, :method => :next_lastname def self.next_lastname @last_lastname ||= 'Group' @last_lastname.succ! @last_lastname end end