blob: 0819a8dc250cfe63b501561cb7cca2223ff7ab4e (
plain)
1
2
3
4
5
6
7
8
9
10
|
class IssuePriority < Enumeration
generator_for :name, :method => :next_name
generator_for :type => 'IssuePriority'
def self.next_name
@last_name ||= 'IssuePriority0'
@last_name.succ!
@last_name
end
end
|