Sha256: e902f0f4be4a958f546920e0aade8ba02f898c1d7e03ad62417c53983a9fd9d0
Contents?: true
Size: 272 Bytes
Versions: 16
Compression:
Stored size: 272 Bytes
Contents
module HoboFields class LifecycleState < String COLUMN_TYPE = :string class << self attr_accessor :table_name end def to_html(xmldoctype = true) I18n.t("#{self.class.table_name}.states.#{self}", :default => self) end end end
Version data entries
16 entries across 16 versions & 1 rubygems