repo.or.cz
/
askyou.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
;]
[askyou.git]
/
test
/
exemplars
/
issue_priority_exemplar.rb
blob
0819a8dc250cfe63b501561cb7cca2223ff7ab4e
1
class IssuePriority < Enumeration
2
generator_for :name, :method => :next_name
3
generator_for :type => 'IssuePriority'
4
5
def self.next_name
6
@last_name ||= 'IssuePriority0'
7
@last_name.succ!
8
@last_name
9
end
10
end