Merged r7458 from trunk (#7613).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/1.2-stable@7482 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
1 parent
f77b83451b
commit
16f56a4677
28 files changed
+36
-229
No files matched your search
@@ -1,10 +1,5 @@
|
||||
class TimeEntryActivity < Enumeration
|
||||
generator_for :name, :method => :next_name
|
||||
generator_for :name, :start => 'TimeEntryActivity0'
|
||||
generator_for :type => 'TimeEntryActivity'
|
||||
|
||||
def self.next_name
|
||||
@last_name ||= 'TimeEntryActivity0'
|
||||
@last_name.succ!
|
||||
@last_name
|
||||
end
|
||||
end
|
||||
Reference in new issue
Block a user