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_status_exemplar.rb
blob
9d3ccdc1b377a08d6ebaec7f8408698b2588843f
1
class IssueStatus < ActiveRecord::Base
2
generator_for :name, :method => :next_name
3
4
def self.next_name
5
@last_name ||= 'Status 0'
6
@last_name.succ!
7
@last_name
8
end
9
end