##// END OF EJS Templates
Add 'Start date' and 'End date' keywords for incoming email. #5595...
Add 'Start date' and 'End date' keywords for incoming email. #5595 git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3763 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r3556:6a6f40397885
r3649:080dc2212efd
Show More
document_category_exemplar.rb
10 lines | 233 B | text/x-ruby | RubyLexer
/ test / exemplars / document_category_exemplar.rb
Eric Davis
Added missing Enumeration STI exemplars....
r3556 class DocumentCategory < Enumeration
generator_for :name, :method => :next_name
generator_for :type => 'DocumentCategory'
def self.next_name
@last_name ||= 'DocumentCategory0'
@last_name.succ!
@last_name
end
end