Class: Job

Inherits:
ActiveRecord::Base
  • Object
show all
Defined in:
app/models/job.rb

Overview

This class describes a job.

Instance Method Summary (collapse)

Instance Method Details

- (String) type_symbol_txt

Return the description of job type.

Returns:

  • (String)


8
9
10
# File 'app/models/job.rb', line 8

def type_symbol_txt
  return I18n.t('activerecord.attributes.job.' + type_symbol)
end